On 05/09/14 21:15, ?????????????????? ???????????????? wrote: > There seems to be a problem with my local dns server resolving > mirror.centos.org. > I know something about dns but obviously not enough to figure out what > might be wrong here or how to fix > this in bind configs. The SERVFAIL errors below seem to be related to > AAAA and MX queries for the domain. > Please advise. TIA. > > > # host mirror.centos.org 8.8.8.8 > Using domain server: > Name: 8.8.8.8 > Address: 8.8.8.8#53 > Aliases: > > mirror.centos.org has address 69.167.139.9 > > > # host mirror.centos.org > mirror.centos.org has address 66.109.26.212 > Host mirror.centos.org not found: 2(SERVFAIL) > Host mirror.centos.org not found: 2(SERVFAIL) > > > # tail -F /var/named/chroot/var/named/data/named.run > error (FORMERR) resolving 'mirror.centos.org/AAAA/IN': 85.12.30.226#53 > error (FORMERR) resolving 'mirror.centos.org/AAAA/IN': 93.113.36.66#53 > error (FORMERR) resolving 'mirror.centos.org/AAAA/IN': 94.46.190.42#53 > error (FORMERR) resolving 'mirror.centos.org/AAAA/IN': 85.12.30.226#53 > error (FORMERR) resolving 'mirror.centos.org/AAAA/IN': 93.113.36.66#53 > error (FORMERR) resolving 'mirror.centos.org/AAAA/IN': 94.46.190.42#53 > error (FORMERR) resolving 'mirror.centos.org/MX/IN': 85.12.30.226#53 > error (FORMERR) resolving 'mirror.centos.org/MX/IN': 93.113.36.66#53 > error (FORMERR) resolving 'mirror.centos.org/MX/IN': 94.46.190.42#53 > error (FORMERR) resolving 'mirror.centos.org/MX/IN': 85.12.30.226#53 > error (FORMERR) resolving 'mirror.centos.org/MX/IN': 93.113.36.66#53 > error (FORMERR) resolving 'mirror.centos.org/MX/IN': 94.46.190.42#53 > Try asking the correct type (A record only) and you'll have the correct answer : the three PDNS servers having delegation for mirror.centos.org will only answer for A records (we have obviously no MX record for mirror.centos.org and, unfortunately, no AAAA records for those machines either) PS : host is considered "deprecated" so switch to dig instead ? ;-) -- Fabian Arrotin gpg key: 56BEC54E | twitter: @arrfab