>Solaris machine - IP: 192.168.1.1, Hostname: ultra10-hme0
>
>ISP DNS server - IP: 212.159.13.49
>
>
>I'm really confused, because when I run 'host' command on a non-existent  
>domain, it returns that the domain is not found
>
>r...@ultra10 host -v www.somefakehost123.com
>Trying "www.somefakehost123.com"
>Received 114 bytes from 212.159.13.49#53 in 44 ms
>Trying "www.somefakehost123.com"
>Host www.somefakehost123.com not found: 3(NXDOMAIN)
>Received 114 bytes from 212.159.13.49#53 in 48 ms
>
>However, when using Solaris telnet, it redirects to a bogus web server
>
>r...@ultra10 telnet www.somefakehost123.com 80
>Trying 74.207.240.60...

What is listed in /etc/resolv.conf , hosts/ipnodes in nsswitch.conf?


>
>I have attached the output from running 'snoop -v' when I tried running  
>the above telnet command. This is what I understand so far:
>
>1. ultra10 sends DNS query for www.somefakehost123.com to ISP's DNS server
>2. DNS server responds with Name Error for www.somefakehost123.com
>3. Then ultra10 sends a second query to DNS server asking for  
>www.somefakehost123.com.net (notice the .net at the end)

Ah, I see, it's the nameserver in charge of com.net.


>So it looks like something from this Solaris machine is sending requests  
>for .net domain names, and prepends the original domain name. Any comments?

That depends on the configuration in nsswitch.conf; it shouldn't add the
.net entry.   You can fix the searchpath in /etc/resolv.conf.

Casper

_______________________________________________
opensolaris-code mailing list
opensolaris-code@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to