Hello,
we updated the resolv.conf and /etc/hosts on several AIX boxes from AIX 4.3.3 to 5.3.
When I do a nslookup on a hostname or ip-adress, it automatically takes one of the new nameservers given in the updated resolv.conf. Our netsvc.conf order is "local,bind".
The strange thing is, that the old DNS server still gets the requests from our updated boxes.
We already tried to user namerslv -e to feed the system configuration database (ODM?..), named in the man page for namerslv.
We then had a tcpdump running and grep'ing and still saw requests to the old DNS server.
Does anybody know how to refresh or reload that kind of "caching" behaviour?
We want to prevent to restart all applications or worse to reboot all boxes just to have the resolving being corrected.
At the moment both the old and the new DNS servers are available but there will be some point in the future, where the old DNS servers will be turned off.
We think that when the boxes don't find the old DNS servers anymore, they will use the new ones by doing gethostbyname() for example and so automatically following the order in /etc/netsvc.conf, finding the new config...
Any hints are welcome.
laters
zaxxon
we updated the resolv.conf and /etc/hosts on several AIX boxes from AIX 4.3.3 to 5.3.
When I do a nslookup on a hostname or ip-adress, it automatically takes one of the new nameservers given in the updated resolv.conf. Our netsvc.conf order is "local,bind".
The strange thing is, that the old DNS server still gets the requests from our updated boxes.
We already tried to user namerslv -e to feed the system configuration database (ODM?..), named in the man page for namerslv.
We then had a tcpdump running and grep'ing and still saw requests to the old DNS server.
Does anybody know how to refresh or reload that kind of "caching" behaviour?
We want to prevent to restart all applications or worse to reboot all boxes just to have the resolving being corrected.
At the moment both the old and the new DNS servers are available but there will be some point in the future, where the old DNS servers will be turned off.
We think that when the boxes don't find the old DNS servers anymore, they will use the new ones by doing gethostbyname() for example and so automatically following the order in /etc/netsvc.conf, finding the new config...
Any hints are welcome.
laters
zaxxon