Answer the question
In order to leave comments, you need to log in
Different dig and ping results. CHADNT?
Given: an Ubuntu Server 14.04 machine that is used as a gateway from the local network to the Internet, as well as a local DNS server (bind 1:9.9.5.dfsg-3ubuntu0.9).
Task: after changing A records on one of the domains, users on the local network still see the old ip address. We go to the server,
resolv.conf is registered nameserver 8.8.8.8
in /etc/bind/named.conf.options
forwarders {
8.8.8.8;
};
dig @8.8.8.8 -t any domainname
ping domainname
Answer the question
In order to leave comments, you need to log in
Please show the content:
/etc/nsswitch.confand also which "old", "new" IP, you can change the last digits.
# /etc/nsswitch.conf
#
# Example configuration of GNU Name Service Switch functionality.
# If you have the `glibc-doc-reference' and `info' packages installed, try:
# `info libc "Name Service Switch"' for information about this file.
passwd: compat
group: compat
shadow: compat
hosts: files dns
networks: files
protocols: db files
services: db files
ethers: db files
rpc: db files
netgroup: nis
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question