Re: nslookup from behing router/modem
- To: firstname.lastname@example.org
- Subject: Re: nslookup from behing router/modem
- From: Jörg-Volker Peetz <email@example.com>
- Date: Mon, 20 Aug 2007 11:36:35 +0200
- Message-id: <firstname.lastname@example.org>
- In-reply-to: <1187553880.3504.1.camel@manchester-campaigns>
- References: <1187268450.3349.104.camel@manchester-campaigns> <20070816150806.789f3288@po> <1187275204.3363.4.camel@manchester-campaigns> <1187277345.3346.5.camel@manchester-campaigns> <20070816164830.GA14803@localhost> <email@example.com> <firstname.lastname@example.org> <1187553880.3504.1.camel@manchester-campaigns>
> On Fri, 2007-08-17 at 09:49 +0200, Jörg-Volker Peetz wrote:
>> michael 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:
>>>>> 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?!?
>>>> Probably best to browse the various manpages and such, but another approach
>>>> is to just look around for clues to the settings, e.g.,
>>> yeah i had a poke around, unsuccessfully. it must also get the actual
>>> nameservers' IP nums from somewhere too...
>> Are you using dhcp? How does your /etc/network/interfaces file look like?
>> The dhcp client also manipulates /etc/resolv.conf.
> Yeah, using DHCP:
> from /etc/network/interfaces:
> # /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
> # The loopback interface
> auto lo
> iface lo inet loopback
> # The first network card - this entry was created during the Debian
> installationauto eth0
> iface eth0 inet dhcp
> iface dsl-provider inet ppp
> provider dsl-provider
> # please do not modify the following line
> pre-up /sbin/ifconfig eth0 up # line maintained by pppoeconf
> But I'm still unsure what I need to amend
See the recommendations in the man-page of "dhclient-script" when using
the dhcp3-client package. But I have never done that.