Configured bind on your server by this instruction
At first everything was fine, but then it stopped working normally. Now, when I do ping, it says to me that the domain lies with me locally, that is, it gives out 127.0.0.1.
In the browser, the domain opens, but the wrong page that lies on the server is just empty.
I open it on my laptop.
Contents of the /etc/resolv.conf file
# # Mac OS X Notice # # This file is not used by the host name and address resolution # or the DNS query routing mechanisms used by most processes on # this Mac OS X system. # # This file is automatically generated. # nameserver 192.168.0.1 The / etc / hosts file is too big, but there definitely isn’t my domain or ip address
running on the server tcpdump -nn 'port 53' get
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on eth0, link-type EN10MB (Ethernet), capture size 262144 bytes 13:32:20.573548 IP 74.125.46.5.60391 > 5.9.39.171.53: 36322 [1au] AAAA? w4u.com.ua. (50) 13:32:20.573740 IP 5.9.39.171.53 > 74.125.46.5.60391: 36322* 0/1/1 (85) 13:32:21.054549 IP 74.125.46.7.48455 > 5.9.39.171.53: 3169 [1au] MX? w4u.com.ua. (50) 13:32:21.054743 IP 5.9.39.171.53 > 74.125.46.7.48455: 3169* 0/1/1 (85) 13:33:03.815489 IP 74.125.46.11.63214 > 5.9.39.171.53: 16086 [1au] AAAA? w4u.com.ua. (39) 13:33:03.815678 IP 5.9.39.171.53 > 74.125.46.11.63214: 16086* 0/1/1 (85) 13:33:03.937458 IP 74.125.46.10.34917 > 5.9.39.171.53: 60364 [1au] MX? w4u.com.ua. (50) 13:33:03.937631 IP 5.9.39.171.53 > 74.125.46.10.34917: 60364* 0/1/1 (85) 13:33:26.736812 IP 5.9.39.171.10641 > 8.8.8.8.53: 58998+% [1au] PTR? 188.198.175.61.in-addr.arpa. (56) 13:33:26.751585 IP 8.8.8.8.53 > 5.9.39.171.10641: 58998 NXDomain 0/1/1 (113) running the command on the laptop host w4u.com.ua get
w4u.com.ua has address 127.0.0.1 although running the command on another server I received the correct ip
ping ...commandping ...list the contents of/etc/resolv.conf,/etc/hostson this computer, and the result of the$ hostnameand$ hostname --fqdnon the same computer. - aleksandr barakin