named[1111]: unexpected RCODE (SERVFAIL) resolving 'page1.com/AAAA/IN': X.X.X.X#53 (2194 Views)
Reply
Occasional Advisor
mar_q
Posts: 11
Registered: ‎08-18-2011
Message 1 of 3 (2,194 Views)

named[1111]: unexpected RCODE (SERVFAIL) resolving 'page1.com/AAAA/IN': X.X.X.X#53

[ Edited ]

Hello.

Please help me to understand.

I have locally DNS running that is configured:

forward only

forwarders (X.X.X.X)

 

Now.

When I see log - I see many entries like that:

named[1234]: unexpected RCODE (SERVFAIL) resolving 'page1.com/AAAA/IN': X.X.X.X#53

named[2345]: unexpected RCODE (SERVFAIL) resolving 'page2.com/AAAA/IN': X.X.X.X#53

 

where X.X.X.X is actual forwarder IP

and page1.com and page2.com is any internet page.

 

I don't have any IPv6 configuration

 

listen-on-v6 in section options. 

 

Why I have this messages then?

 



Please use plain text.
Honored Contributor
Matti_Kurkela
Posts: 6,271
Registered: ‎12-02-2001
Message 2 of 3 (2,172 Views)

Re: named[1111]: unexpected RCODE (SERVFAIL) resolving 'page1.com/AAAA/IN': X.X.X.X#53

There is no requirement to actually use the IPv6 protocol to make queries on IPv6 addresses: it is perfectly valid to make queries for IPv6 addresses over an IPv4 connection. The client might have an IPv6-over-IPv4 tunnel or some other IPv6 connection mechanism, which the DNS server does not need to be aware of.

 

Some client of your local DNS server has made requests for the AAAA records (IPv6 address records) of page1.com and page2.com. Since you have a "forward only" configuration, your DNS server has dutifylly forwarded the queries to X.X.X.X. But X.X.X.X does not seem to like IPv6 at all: it has responded with a SERVFAIL error code.

 

Many web browsers today are already IPv6-aware, and IPv6 support is slowly increasing in other applications too. Typically, a IPv6-aware application will first ask for a IPv6 address for any DNS name. If the IPv6 query is not successful (or a IPv6 connection attempt fails), the IPv4 address is queried for and used instead.

MK
Please use plain text.
Occasional Advisor
mar_q
Posts: 11
Registered: ‎08-18-2011
Message 3 of 3 (2,173 Views)

Re: named[1111]: unexpected RCODE (SERVFAIL) resolving 'page1.com/AAAA/IN': X.X.X.X#53

[ Edited ]

Hi,

Thank you very much for contribution.

I assume then that to disable this resolving for IPv6 it's enaugh to edit

/etc/sysconfig/named and put there

OPTIONS="-4"

and restart of named.

Do you confirm it?

 

 

 

Please use plain text.
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation