Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Re: nslookup from behing router/modem

From: michael <cs(at)networkingnewsletter.org.uk>
Date: Thu Aug 16 2007 - 11:15:45 EDT


On Thu, 2007-08-16 at 15:40 +0100, michael wrote:
> On Thu, 2007-08-16 at 15:08 +0100, Liam O'Toole wrote:
> > On Thu, 16 Aug 2007 13:47:30 +0100
> > michael <cs@networkingnewsletter.org.uk> wrote:
> >
> > > I have just replaced my USB modem with a router/modem and things seem
> > > to be working find on my Debian box behind the router, except for
> > > nslookup. Is there something I need to amend to get it to work. Note
> > > I can still access the e-World from my Debian box:
> > >
> > > michael@manchester-campaigns:~$ ping www.bbc.co.uk
> > > PING www.bbc.net.uk (212.58.224.116): 56 data bytes
> > > 64 bytes from 212.58.224.116: icmp_seq=0 ttl=248 time=36.4 ms
> > > 64 bytes from 212.58.224.116: icmp_seq=1 ttl=248 time=35.8 ms
> > >
> > > --- www.bbc.net.uk ping statistics ---
> > > 2 packets transmitted, 2 packets received, 0% packet loss
> > > round-trip min/avg/max = 35.8/36.1/36.4 ms
> > >
> > >
> > > michael@manchester-campaigns:~$ nslookup www.bbc.co.uk
> > > ;; connection timed out; no servers could be reached
> > >
> > >
> > > michael@manchester-campaigns:~$ less /etc/resolv.conf
> > > search
> > > nameserver 158.152.1.58
> > > nameserver 158.152.1.42
> >
> > The empty 'search' list looks wrong. Try removing the line altogether.
>
> Yes, if I delete that line then it works fine. Upon rebooting I see
> that /etc/resolv.conf which is a sym link to /etc/ppp/resolv.conf gets
> updated:
>
> michael@manchester-campaigns:~$ file /etc/resolv.conf;ls
> -lt /etc/resolv.conf /etc/ppp/resolv.conf
> /etc/resolv.conf: symbolic link to `ppp/resolv.conf'
> -rw-r--r-- 1 root root 55 Aug 16 15:30 /etc/ppp/resolv.conf
> lrwxrwxrwx 1 root root 15 Apr 4 09:26 /etc/resolv.conf ->
> ppp/resolv.conf
>
> which I think is something/where/how related to the old speedtouch
> scripts I ran to use the Speedtouch USB modem.
>
> I'll investigate. thanks, Michael
>
>

okay, it's nothing to do with speedtouch (sorry steve) since I've update-rc.d remove speedtouch

but somehow /etc/ppp/resolv.conf is being created at boot time with correct nameservers but an empty search string...

any ideas? something to do with /etc/ppp/ip*d/0000usepeerdns but I've no idea how/when they are used and why?!?

T>I>A>
M

-- 
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Received on Thu Aug 16 11:16:28 2007

This archive was generated by hypermail 2.1.8 : Sun Oct 07 2007 - 02:16:58 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library