Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SOME DNS queries result in a SRV FAIL

Status
Not open for further replies.

Redfox1

MIS
May 29, 2002
73
US
Problem description:

Lookups for certain hosts/records result in no response to the client at best (timeouts), at worst results in a SRV FAIL message from our internal DNS servers.

If a client queries an external DNS server the response fast and correct. For certain domains though its like they just don't exist...

Example domains:
(lb.msnb.com)

We are seeing a LOT of "Badly formed DNS" and "Illegal query format" Even after we disable strict DNS/UDP protocol enforcement the errors stopped being logged BUT DNS SERVER FAILURE problems remained.

Setup:
Client PCs (various OSs) --->2 x DNS Server (NT 4.0 SP6a) ----> FW (NAT) --->Internet

DNS Server is not forwarding queries, but resolving it itself.

Internal domain looks/checks out OK. Both Internal DNS servers produce identical results (Server Failure code back to the requesting PC)


Things I've tried to test/diagnose issues:

We have checked that these sites are functioning and up from several different outside DNS servers. This eliminates the sites being down. We are able to resolve 99% of all other domain queries without any problems
(and FAST).

There is no problem with AddressAnswerLimit since all clients (W2K, NT, Win9x, Redhat Linux 7.3) exhibit the same problem. MS KB Q164300.

MS KB Q295933 describes such an error when it receives an non-authoritative response.

MS KB Q159310 "Updated version of DNS fixes several problems." After installing the patch it did not fix the problem.

Send queries from an internal PC to an internal BIND DNS server running on RHN 7.3 (bind-9.2.1-9) Same server failures were observed.

Consulted MS KB Q186820, Q295611, Q251384,

In all cases Root hints were updated.

Example trace of such a failures (cleared of private info.)

(Ethereal trace:)
Internet Protocol, Src Addr: 192.168.X.YYY (192.168.X.YYY), Dst Addr:
192.168.Z. Version: 4
Header length: 20 bytes
Differentiated Services Field: 0x00 (DSCP 0x00: Default; ECN: 0x00)
0000 00.. = Differentiated Services Codepoint: Default (0x00)
.... ..0. = ECN-Capable Transport (ECT): 0
.... ...0 = ECN-CE: 0
Total Length: 72
Identification: 0x8b2a
Flags: 0x04
.1.. = Don't fragment: Set
..0. = More fragments: Not set
Fragment offset: 0
Time to live: 128
Protocol: TCP (0x06)
Header checksum: 0xeb15 (correct)
Source: 192.168.X.YYY (192.168.X.YYY)
Destination: 192.168.Z.Transmission Control Protocol, Src Port: domain (53), Dst Port: 1440 (1440),
Seq: 39785541, Ack: 694240, Len: 32
Source port: domain (53)
Destination port: 1440 (1440)
Sequence number: 39785541
Next sequence number: 39785573
Acknowledgement number: 694240
Header length: 20 bytes
Flags: 0x0018 (PSH, ACK)
0... .... = Congestion Window Reduced (CWR): Not set
.0.. .... = ECN-Echo: Not set
..0. .... = Urgent: Not set
...1 .... = Acknowledgment: Set
.... 1... = Push: Set
.... .0.. = Reset: Not set
.... ..0. = Syn: Not set
.... ...0 = Fin: Not set
Window size: 8728
Checksum: 0x5556 (correct)
Domain Name System (response)
Length: 30
Transaction ID: 0x090f
Flags: 0x8182 (Standard query response, Server failure)
1... .... .... .... = Response: Message is a response
.000 0... .... .... = Opcode: Standard query (0)
.... .0.. .... .... = Authoritative: Server is not an authority for
domain
.... ..0. .... .... = Truncated: Message is not truncated
.... ...1 .... .... = Recursion desired: Do query recursively
.... .... 1... .... = Recursion available: Server can do recursive
queries
.... .... ..0. .... = Answer authenticated: Answer/authority portion
was not authenticated by the server
.... .... .... 0010 = Reply code: Server failure (2)
Questions: 1
Answer RRs: 0
Authority RRs: 0
Additional RRs: 0
Queries
lb.msnbc.com: type ANY, class inet
Name: lb.msnbc.com
Type: Request for all records
Class: inet

David Nemeth
Systems Administrator
dnemeth@connectpositronic.com
Positronic Industries, Inc.
 
HI.

> 2 x DNS Server (NT 4.0 SP6a) ----> FW (NAT) --->Internet
Since you have tried several different DNS servers, it seems that the problem is related to the FW (NAT) device.
Please provide more details about it.
Try to connect a DNS server with registered ip address (outside of the FW) for the test. What do you get then?

The DNS servers at the remote side (for example ns1.corel.ca) might be using some protection device/software that blocks your DNS server because it comes from behind NAT or for some other reason, for example lack of proper Reverse Lookup PTR record for your external ip address.
I suggest that you try to contact the DNS administrator of some of the blocked domains to help you with identifying and solving the problem.

> .... .... ..0. .... = Answer authenticated: Answer/authority portion
was not authenticated by the server
.... .... .... 0010 = Reply code: Server failure (2)
I think that the authentication problem here might be related to the external NAT ip address which does not map or resolve to your DNS server hostname or something like that.

> Client PCs (various OSs) --->2 x DNS Server (NT 4.0 SP6a)
I recommend planning to upgrade to W2K or install an additional/unix server just to act as DNS server.
W2K DNS server simply works better then NT4.

You should check the date of the DNS.EXE and/or other related files under SYSTEM32, and to be on the safe side - reapply SP6a since some changes might have been made which caused old system files from I386 to be installed, so reapplying the service pack is recommend.

> DNS Server is not forwarding queries, but resolving it itself
Why not?
What is the connection type you have to the ISP?
I think that forwarding to your ISP can be either a temporary or permanent solution for you.

Simple question, but did you try restarting the DNS server?

Are the DNS servers accessible from the Internet (inbound connections)?
Are you hosting any zone for public access on your own DNS servers?

Bye
Yizhar Hurwitz
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top