So, I've run into this problem before, and I've never really been able to fully sort it out. I'm having issues with a host that is sending SNMP traps to Nagios not resolving in DNS properly. This host is at IP 10.245.64.47 and it's name is lisgrid01p. We have 4 total DNS servers here, 2 in our main location in Lisle and 2 in Kenosha for servers there (one primary, one backup). There are 2 because 1 is used for windows hosts and one is used for Unix. This particular host lives in Lisle and is Unix, so it should be using that DNS server for resolution. My /etc/resolv.conf looks like this:
Code: Select all
# Generated by NetworkManager
domain SSG5-Serial
search SSG5-Serial
nameserver 10.245.70.12
nameserver 10.245.128.4
nameserver 10.245.128.38
nameserver 10.245.70.13
nameserver 68.87.77.130
An nslookup on that host looks like this:
Code: Select all
C:\Users\pr6449>nslookup 10.245.64.47 10.245.70.12
Server: lisadns01p.snapon.com
Address: 10.245.70.12
Name: lisgrid01p.snapon.com
Address: 10.245.64.47
Notice the DNS server IP I'm using is the one at the top of that list. It still is not working properly. I have had it where whatever IP is at the top of that list works but no others do in the past, but now even that one isn't working right. It should be noted that I just changed the order a few minutes ago, it used to be the 2 10.245.128.xx DNS servers at the top. I changed the order in the hope that it would correct my issue and it didn't. Regardless, I shouldn't have to change the order as the way this is supposed to function is that DNS lookups will start with the top address and work it's way down the list until it gets a result. That is not happening, nor has it ever happened that way in my experience. Any thoughts on how this can be corrected?