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

Re: nslookup from behing router/modem



michael wrote:
> 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.
-- 
Regards,
Jörg-Volker.



Reply to: