Objective
Describe the required procedures for DNS configuration on the server OpMon.
Target audience
Intended for OpMon administrators and TI teams, that need to perform the DNS configuration on the server OpMon.
Configuring
The DNS configuration on the OpMon server can be done when editing the file /etc/resolv.conf and insert all the desired, as follows:
[root@opmon /]# vim /etc/resolv.conf
We can insert as many policies as nameservers are required, each referencing a different name server. We can also insert names to be linked together when requested at the time of the search through the search directive.
search cliente.com dominio.cliente.com nameserver 10.1.1.1 nameserver 10.1.1.2 nameserver 8.8.8.8
Still in touching name resolution, we can use a ruse set up names to be solved directly on OpMon, using the base of hosts located in the file/etc/hosts. as below:
[root@opmon /]# vim /etc/hosts 127.0.0.1 opmon opmon.dominio.cliente.com localhost.localdomain localhost ::1 localhost6.localdomain6 localhost6 10.1.1.254 meugateway meugateway.cliente.com
In the example above was configured a host named mygateway pointing to the IP 10.1.1.254. This configuration can be repeated, respecting the UM host by line limit.
When completing the hosts editing, just save and exit the file for it to come into effect.