Re: DNS lookup fails connecting to server on same network

Top Page
Attachments:
Message as email
+ (text/plain)
+ signature.asc (application/pgp-signature)
+ (text/plain)
Delete this message
Reply to this message
Author: Ryan Rix
Date:  
To: Main PLUG discussion list
Subject: Re: DNS lookup fails connecting to server on same network
Hi,

/etc/resolv.conf is apparently using different nameservers primarily than I
thought...

root@wanton:~# cat /etc/resolv.conf
domain phnx.qwest.net
search phnx.qwest.net
nameserver 63.208.196.113
nameserver 63.208.196.114
nameserver 192.168.0.1
root@wanton:~# nslookup wanton.dyndns.org 63.208.196.113
Server:         63.208.196.113
Address:        63.208.196.113#53


** server can't find wanton.dyndns.org.phnx.qwest.net: REFUSED

root@wanton:~# nslookup wanton.dyndns.org 63.208.196.114
Server:         63.208.196.114
Address:        63.208.196.114#53


** server can't find wanton.dyndns.org.phnx.qwest.net: REFUSED


Which leads me to believe that I have.... sth wrong :) I have *no* idea why
they are concatenated together like that....phnx.qwest.net seems to be the
external dns, or the domain, but why it's appended to the host during
nslookups is beyond me....

> even try appending a period/dot ( . ) after the name to denote it as a
> FQDN absolutely.

Where, in the browser/ssh/etc?

--
Thanks and best regards,
Ryan Rix
TamsPalm - The PalmOS Blog

This one goes to 11.




On Tue November 4 2008 12:33:11 am Dan Lund wrote:
> How about what's in your /etc/resolv.conf?
> maybe the /etc/nsswitch.conf just to make sure nothings odd?
> It's a start.
> even try appending a period/dot ( . ) after the name to denote it as a
> FQDN absolutely.
>
> Thanks,
> Dan Lund
>
> If you need more than 3 levels of indentation, you're screwed anyway,
> and should fix your program.
> --Linus Torvalds, Original Inventor of the Linux kernel
> August, 2006
>
> On Mon, Nov 3, 2008 at 10:09 PM, Ryan Rix <> wrote:
> > Hi,
> >
> > I have recently configured a new Debian GNU/Linux server and migrated the
> > settings and stuffs from my old laptopserver.
> >
> > Everything works shiningly, except for one thing: when I try to access
> > the server via its fqdn, my laptop returns a DNS error, unknown host.
> >
> > I know that somewhere in the bowels of my laptop, only while connected to
> > the same network as the server behind a dlink G router, it's becoming
> > corrupted because:
> >
> > maylay:~# nslookup wanton.dyndns.org 205.171.2.65
> > Server:         205.171.2.65
> > Address:        205.171.2.65#53

> >
> > Non-authoritative answer:
> > Name: wanton.dyndns.org
> > Address: 204.193.219.193
> >
> > where 205.11.2.65 is the primary dns reported by the router. The address
> > it pulls is valid, indeed.
> >
> > maylay:~# nslookup wanton.dyndns.org
> > Server:         192.168.0.1
> > Address:        192.168.0.1#53

> >
> > Non-authoritative answer:
> > Name: wanton.dyndns.org
> > Address: 204.193.219.193
> >
> > using the router for DNS reports the same IP address, leading me to
> > believe the laptop is corrupting or doing *SOMETHING* to prevent a
> > connection.
> >
> > My hosts file is clean:
> > 127.0.0.1 localhost
> >
> > I think that would be the only thing prohibiting a connection on the
> > laptop, so I honestly am at a loss of what to do.
> >
> > Any ideas are much appreciated.
> > ~Ryan
> >
> >
> > --
> > Thanks and best regards,
> > Ryan Rix
> > TamsPalm - The PalmOS Blog
> >
> > "See, he's more dangerous during the off season"
> >
> >
> >
> >
> >
> > ---------------------------------------------------
> > PLUG-discuss mailing list -
> > To subscribe, unsubscribe, or to change your mail settings:
> > http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>
> ---------------------------------------------------
> PLUG-discuss mailing list -
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss



---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss