[Solved] dns named[4076]: error (network unreachable) resol

dns named[4076]: error (network unreachable) resolving ‘./NS/IN’: 2001:503:ba3e::2:30#53

An error like this is caused by turning on IPv6 and turning off DNS IPv6

Methods:
①: [ root@localhost Etc] # VI/etc/sysconfig/named
add a line options = – 4 ”
②: comment out in named.conf

options{
listen-onport53{any;};
//listen-on-v6port53{::1;};#Comment out the line with // or #, or just delete it.

 

Similar Posts: