named caching server odd lookup issue!

 
Thread Tools Search this Thread
Operating Systems Linux Red Hat named caching server odd lookup issue!
# 1  
Old 01-06-2012
named caching server odd lookup issue!

Hello All,

I have resubmitted this issue I am having as the my last post was moved to programming as the issue appeared to be specific to java but on further investigation this is not the case.

The issues also arises when running the host command and appears to be either a problem with the named caching server running on Centos or the response is mangle in someway for the url webservices.securetrading.net.

The problem arrises as soon as the a lookup up is made for ipv6 AAAA record.
It only occurs with the above mentioned URL.

I have installed a separate instance of centos running named caching server on a virtualbox host running under OSX on my home network and can confirm the issue is still arising. So it's not limited to our business network.

I can also confirm the issue also arrises when changing to different nameservers ie when using google public nameserver 8.8.8.8

After a period of time the nslookup starts to resolve correctly but as soon as I execute a host command or a java program that requires a lookup to the ipv6 AAAA the issue returns.

Please find below details of issue.

Kind Regards,
SRG

nslookup one:
Code:
# nslookup webservices.securetrading.net
Server:		127.0.0.1
Address:	127.0.0.1#53

Non-authoritative answer:
Name:	webservices.securetrading.net
Address: 194.74.4.78

tcpdump output nslookup one:
11:39:40.014854 IP proxy.59045 > ns2.server.co.uk.domain:  39056+ [1au] A? webservices.securetrading.net. (58)
11:39:40.041373 IP ns2.server.co.uk.domain > proxy.59045:  39056 1/3/1 (135)

Host command lookup:
Code:
# host  webservices.securetrading.net
webservices.securetrading.net has address 195.224.56.78
Host webservices.securetrading.net not found: 3(NXDOMAIN)
Host webservices.securetrading.net not found: 3(NXDOMAIN)

tcpdump output from host command:
11:41:02.302382 IP proxy.50625 > ns2.server.co.uk.domain:  36747+ [1au] A? webservices.securetrading.net. (58)
11:41:02.303136 IP ns2.server.co.uk.domain > proxy.59482:  51587 1/8/9 (412)
11:41:02.334418 IP ns2.server.co.uk.domain> proxy.50625:  36747 1/3/1 (135)
11:41:02.335576 IP proxy.62245 > ns2.server.co.uk.domain:  13209+ [1au] AAAA? webservices.securetrading.net. (58)
11:41:02.366372 IP ns2.server.co.uk.domain > proxy.62245:  13209 NXDomain 0/1/1 (126)

nslookup two:
Code:
# nslookup webservices.securetrading.net
Server:		127.0.0.1
Address:	127.0.0.1#53

** server can't find webservices.securetrading.net: NXDOMAIN

Please note my original post is the following:
https://www.unix.com/programming/1742...e-via-dns.html
# 2  
Old 01-07-2012
* did you capture network while process nslookup_2?
for example
Code:
# tcpdump port 53 -s0 -nn -w nslookup_2.pcap
and you can check packet traffic on wireshark (or tshark) or similiar other progs

* what is messages/logs from caching-server d(what is status caching-nameserver or named or ..) when received this error?
* did you look to your cached server confs files may releated about this issue (any periods or ipv6)?
* check your firewall settings if has?

regards
ygemici
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Red Hat

DNS reverse lookup issue

Hi guys. Ok so let me lay out my configs. I can do a NSlookup from client to server BUT NOT a reverse lookup. DNS server: Optimus.jaydomain.com IP : 192.168.1.50 DNS Client: Megatron.jaydomain.com IP : 192.168.1.60 On Sever: # cat /etc/named.conf // // named.conf // // Provided... (4 Replies)
Discussion started by: Junaid Subhani
4 Replies

2. Red Hat

Squid Caching Issue

Hi frnds I recently configured Squid 2.5 stable version on my redhat machine.Caches are storing in my disk (/var/spool/squid) but my access.log file always shows tcp_miss for every site i access as well as store.log file shows release on every action. some of the records of my... (6 Replies)
Discussion started by: Vaibhav.T
6 Replies

3. UNIX for Dummies Questions & Answers

Reverse lookup issue

I came back to my solaris 10 system after a week of being gone and xterm no longer work. I checked into it and the system doesn't reverse lookup my client system. There is a manual entry for my system in the /etc/hosts file and a forward lookup works fine, but I still can't get reverse lookup. Any... (0 Replies)
Discussion started by: clogan1981
0 Replies

4. Shell Programming and Scripting

Odd looping issue with NET::FTP and Proftpd

Hello, I'm a UNIX SysAdmin at a large webhosting company and we have a vendor that provides a service which involves the ftp'ing of files from their servers to ours. They initiate FTP using a perl script with NET::FTP. When they try to transfer files (and delete files over ftp), there is... (3 Replies)
Discussion started by: tmmgeekette
3 Replies

5. BSD

/etc/rc.d/named restart issue (command not found)

Guys, I am new to FreeBSD. I have this weird issue where when i issue the command "/etc/rc.d/named restart" i get --> command not found. I am running BIND 9.6.-ESV-R3 on FreeBSD 8.2 I have added named_enable="YES" in rc.conf as per manual named works great: No issue there. I just would like... (3 Replies)
Discussion started by: zongo
3 Replies

6. IP Networking

Named - DNS Server - within Firewall

I spent hours trying to create a system where the name server returns a value of 192.168.100.5 locally, but 209.137.nnn.nnn for requests outside of the firewall. If I run "nslookup mail.mydomain.com" from a machine inside the firewall, the 192.168 number is returned, but if I do "nslookup... (3 Replies)
Discussion started by: jgt
3 Replies

7. SuSE

named service issue on Suse

Hi Experts, I have a virtual server of SUSE Linux Enterprise Server 10 (x86_64). I am having strange issue of Naming services. Every 1 or 2 hours, named service stops working on this server and then I have to start it from "/etc/init./named start" I am not getting clue, where should I start... (0 Replies)
Discussion started by: solaris_1977
0 Replies

8. UNIX for Dummies Questions & Answers

Odd Control Character issue ^A

Sorry to bug you, but my sed is failing me, I have a file auto generated from abinitio, it has a string of chars ending with a line break, and then it has added a ^A character, I can remove this is vi by using the following %s/^A//g (where ^A is ctrl v and control A), however when I try to sed... (1 Reply)
Discussion started by: badg3r
1 Replies

9. UNIX for Dummies Questions & Answers

home network - can you have a primary name server, or only a caching-only name server

i'm setting up a solaris 9 box to be my home network's DNS server. actually it's up and running, but it's set as a caching-only name server. can i set it up to be the primary name server? what are the advantages if i can set it up to be a primary name server vs. a caching only name server? (3 Replies)
Discussion started by: xyyz
3 Replies

10. UNIX for Advanced & Expert Users

i'm pulling my hair out getting a solaris 8 box to work as a caching name server

i've gone through the sun docs as well as a Solaris Network Admin book. while the book is fair, it lacks detail and i'm sure there are things it's missing on getting a caching only name server working. as for the sun docs... what it has is really miserable. i can't make anything out of it. ... (4 Replies)
Discussion started by: xyyz
4 Replies
Login or Register to Ask a Question