[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: nslookup from behing router/modem



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



Reply to: