PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Serveur - Sécurité et techniques > linux.debian.user > nslookup from behing router/modem
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
linux.debian.user debian-user@lists.debian.org.

nslookup from behing router/modem

Réponse
 
LinkBack Outils de la discussion
Vieux 16/08/2007, 13h50   #1
michael
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut nslookup from behing router/modem

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



--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Vieux 16/08/2007, 14h20   #2
Samuel Bächler
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: nslookup from behing router/modem

> michael@manchester-campaigns:~$ less /etc/resolv.conf
> search
> nameserver 158.152.1.58
> nameserver 158.152.1.42


In Switzerland I would say "the dog is buried here" (how to
say in English?):

I entered your nameserver in my resolv.conf and it did not work.
For now try to use my configuration:
search foo.ch
nameserver 62.2.24.162
nameserver 62.2.17.60
nameserver 62.2.17.61


My Question:
Is it a problem if Michael uses my configuration?

Cheers

Sam


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Vieux 16/08/2007, 14h40   #3
michael
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: nslookup from behing router/modem


On 16 Aug 2007, at 14:12, Samuel Bächler wrote:

>> michael@manchester-campaigns:~$ less /etc/resolv.conf
>> search
>> nameserver 158.152.1.58
>> nameserver 158.152.1.42

>
> In Switzerland I would say "the dog is buried here" (how to
> say in English?):
>
> I entered your nameserver in my resolv.conf and it did not work.
> For now try to use my configuration:
> search foo.ch
> nameserver 62.2.24.162
> nameserver 62.2.17.60
> nameserver 62.2.17.61


I can add that another machine (MacOS) on my LAN does nslookup okay,
indeed with the first mentioned nameserver. Furthermore, my
understanding is that I need a local nameserver for things to work so
I'm not sure putting a Swiss one for my UK is sensible. Indeed, it
isn't necessary since the MacOS machine can use the stated
nameservers... I'm guessing I've something else not set up such that
my Debian box, behind the router, isn't accessing the correct
nameserver...
  Réponse avec citation
Vieux 16/08/2007, 15h10   #4
Liam O'Toole
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: nslookup from behing router/modem

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.

--

Liam


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Vieux 16/08/2007, 15h50   #5
michael
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut 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


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Vieux 16/08/2007, 16h20   #6
michael
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: nslookup from behing router/modem

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
  Réponse avec citation
Vieux 16/08/2007, 17h50   #7
Ken Irving
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: nslookup from behing router/modem

On Thu, Aug 16, 2007 at 04:15:45PM +0100, michael wrote:
> 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:~$ 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:
> > ...

> ...
>
> 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.,

$ sudo find /etc/ppp -type f -exec grep -H search {} \;
/etc/ppp/ip-up.d/0dns-up:# 'search' or 'domain' directives or additional nameservers. Read the

That file (on my system) may have some leads to follow:

$ sudo less /etc/ppp/ip-up.d/0dns-up
...
# 0dns-up sets up /etc/resolv.conf for the provider being connected to. In
# conjunction with pppd's usepeerdns option it also handles dynamic dns.
# It expects to be passed the provider name in PPP_IPPARAM.

# Pppconfig creates a file in /etc/ppp/resolv for each provider for which the
# administrator chooses 'Static' or 'Dynamic' in the 'Configure Nameservers'
# screen. The files for providers for which 'Static' was chosen contain the
# nameservers given by the administrator. Those for which 'Dynamic' was chosen
# are empty. 0dns-up fills in the nameservers when pppd gets them from the
# provider when the connection comes up. You can edit these files, adding
# 'search' or 'domain' directives or additional nameservers. Read the
# resolv.conf manual first, though.
...

Anyway, maybe such an approach could turn up an empty 'search' entry in some
file on your system...

Good luck!

Ken

--
Ken Irving, fnkci+debianuser@uaf.edu


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Vieux 16/08/2007, 18h10   #8
michael
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: nslookup from behing router/modem

On Thu, 2007-08-16 at 08:48 -0800, Ken Irving wrote:
> On Thu, Aug 16, 2007 at 04:15:45PM +0100, michael wrote:
> > 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:~$ 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:
> > > ...

> > ...
> >
> > 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.,
>
> $ sudo find /etc/ppp -type f -exec grep -H search {} \;
> /etc/ppp/ip-up.d/0dns-up:# 'search' or 'domain' directives or additional nameservers. Read the
>
> That file (on my system) may have some leads to follow:
>
> $ sudo less /etc/ppp/ip-up.d/0dns-up
> ...
> # 0dns-up sets up /etc/resolv.conf for the provider being connected to. In
> # conjunction with pppd's usepeerdns option it also handles dynamic dns.
> # It expects to be passed the provider name in PPP_IPPARAM.
>
> # Pppconfig creates a file in /etc/ppp/resolv for each provider for which the
> # administrator chooses 'Static' or 'Dynamic' in the 'Configure Nameservers'
> # screen. The files for providers for which 'Static' was chosen contain the
> # nameservers given by the administrator. Those for which 'Dynamic' was chosen
> # are empty. 0dns-up fills in the nameservers when pppd gets them from the
> # provider when the connection comes up. You can edit these files, adding
> # 'search' or 'domain' directives or additional nameservers. Read the
> # resolv.conf manual first, though.
> ...
>
> Anyway, maybe such an approach could turn up an empty 'search' entry in some
> file on your system...
>
> Good luck!


yeah i had a poke around, unsuccessfully. it must also get the actual
nameservers' IP nums from somewhere too...


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Vieux 16/08/2007, 18h20   #9
Wayne Topa
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: nslookup from behing router/modem

michael(cs@networkingnewsletter.org.uk) is reported to have said:
> 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:
> > >

<--<snip>-->
> > 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?!?


Only one I can think of, do you have the resolvconf package installed?

Wayne

--
Melted fruit snacks found on Keyboard. Delete nephew [Y/N]?
__________________________________________________ _____


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Vieux 16/08/2007, 20h30   #10
srgqwerty
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: nslookup from behing router/modem

some dsl routers "require" that the clients points to the router itself as the
dns server.
In other words:
Try to use the following /etc/resolv.conf in the client:
nameserver <router_ip_address>

Regards

On Thursday 16 August 2007 14:47, 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:
>
> 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



--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Vieux 17/08/2007, 02h50   #11
Jamin Davis
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: nslookup from behing router/modem

Samuel Bächler <linux@boeser.ch> wrote:

>> michael@manchester-campaigns:~$ less /etc/resolv.conf
>> search
>> nameserver 158.152.1.58
>> nameserver 158.152.1.42

>
> In Switzerland I would say "the dog is buried here" (how to
> say in English?):


Here marks the spot?

I use Demon, the second entry from Michael's resolv.conf is the wrong IP.
Should be 158.152.1.43 = cache-2.ns.demon.net and 158.152.1.58 = cache-1.

..42 is something else, not a public nameserver IAC. Just change .42 to .43
and it should be fine.

--
Jamin @ Home: Chester UK -<jamin@ghost.merseine.nu>



--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Vieux 17/08/2007, 09h00   #12
Jörg-Volker Peetz
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: nslookup from behing router/modem

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



--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Vieux 17/08/2007, 09h00   #13
Jörg-Volker Peetz
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: nslookup from behing router/modem

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



--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Vieux 19/08/2007, 21h10   #14
michael
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: nslookup from behing router/modem

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
  Réponse avec citation
Vieux 19/08/2007, 21h10   #15
michael
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: nslookup from behing router/modem

On Thu, 2007-08-16 at 13:17 -0400, Wayne Topa wrote:
> michael(cs@networkingnewsletter.org.uk) is reported to have said:
> > 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:
> > > >

> <--<snip>-->
> > > 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?!?

>
> Only one I can think of, do you have the resolvconf package installed?


I don't think so:
manchester-campaigns:/etc/network# dpkg -l |grep resolv
manchester-campaigns:/etc/network#

but I do have DHCP:
manchester-campaigns:/etc/network# dpkg -l |grep dhcp
ii dhcp-client 2.0pl5-19.3 DHCP
Client
manchester-campaigns:/etc/network#




--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Vieux 19/08/2007, 21h30   #16
michael
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: nslookup from behing router/modem

On Fri, 2007-08-17 at 01:31 +0100, Jamin Davis wrote:
> Samuel Bächler <linux@boeser.ch> wrote:
>
> >> michael@manchester-campaigns:~$ less /etc/resolv.conf
> >> search
> >> nameserver 158.152.1.58
> >> nameserver 158.152.1.42

> >
> > In Switzerland I would say "the dog is buried here" (how to
> > say in English?):

>
> Here marks the spot?
>
> I use Demon, the second entry from Michael's resolv.conf is the wrong
> IP.
> Should be 158.152.1.43 = cache-2.ns.demon.net and 158.152.1.58 =
> cache-1.
>
> .42 is something else, not a public nameserver IAC. Just change .42
> to .43
> and it should be fine.
>
>


Jamie - thanks for spotting that typo. I've changed it and although the
empty 'search' is still in /etc/resolv.conf everything does now work
fine (and note that both MacOS and XP had worked fine with .42 or .43!):

DEBIAN BOX:
michael@manchester-campaigns:~$ less /etc/resolv.conf
search
nameserver 158.152.1.58
nameserver 158.152.1.43
michael@manchester-campaigns:~$ nslookup www.bbc.co.uk
Server: 158.152.1.43
Address: 158.152.1.43#53

Non-authoritative answer:
www.bbc.co.uk canonical name = www.bbc.net.uk.
Name: www.bbc.net.uk
Address: 212.58.227.76


Ta, M
  Réponse avec citation
Vieux 19/08/2007, 23h40   #17
Wayne Topa
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: nslookup from behing router/modem

michael(cs@networkingnewsletter.org.uk) is reported to have said:
> On Thu, 2007-08-16 at 13:17 -0400, Wayne Topa wrote:
> > michael(cs@networkingnewsletter.org.uk) is reported to have said:
> > > 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:
> > > > >

> > <--<snip>-->
> > > > 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?!?

> >
> > Only one I can think of, do you have the resolvconf package installed?

>
> I don't think so:
> manchester-campaigns:/etc/network# dpkg -l |grep resolv
> manchester-campaigns:/etc/network#


VT4 wtopa-dj-TESTING:~$ dpkg -l |grep resolv
i resolvconf 1.37 nameserver information handler

VT4 wtopa-dj-TESTING:~$ apt-cache show resolvconf
<--<snip>-->

Description: nameserver information handler
Resolvconf is a framework for keeping track of the system's
information about currently available nameservers. It sets
itself up as the intermediary between programs that supply
nameserver information and programs that use nameserver
information. Examples of programs that supply nameserver
information are: ifupdown, DHCP clients, the PPP daemon and
local nameservers. Examples of programs that use this
information are: DNS caches, resolver libraries and the
programs that use them.

>
> manchester-campaigns:/etc/network# dpkg -l |grep dhcp
> ii dhcp-client 2.0pl5-19.3 DHCP
> Client
> manchester-campaigns:/etc/network#


I use dhcp3-client which works with resolvconf, and also does dynamic
DNS. I don't know about the older (?) dhcp-client.

Neither of which would have solved your, wrong DNS address, though.

Wayne

--
On-line, adj.:
The idea that a human being should always be accessible to a computer.
__________________________________________________ _____


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Vieux 19/08/2007, 23h40   #18
Wayne Topa
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: nslookup from behing router/modem

michael(cs@networkingnewsletter.org.uk) is reported to have said:
> On Thu, 2007-08-16 at 13:17 -0400, Wayne Topa wrote:
> > michael(cs@networkingnewsletter.org.uk) is reported to have said:
> > > 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:
> > > > >

> > <--<snip>-->
> > > > 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?!?

> >
> > Only one I can think of, do you have the resolvconf package installed?

>
> I don't think so:
> manchester-campaigns:/etc/network# dpkg -l |grep resolv
> manchester-campaigns:/etc/network#


VT4 wtopa-dj-TESTING:~$ dpkg -l |grep resolv
i resolvconf 1.37 nameserver information handler

VT4 wtopa-dj-TESTING:~$ apt-cache show resolvconf
<--<snip>-->

Description: nameserver information handler
Resolvconf is a framework for keeping track of the system's
information about currently available nameservers. It sets
itself up as the intermediary between programs that supply
nameserver information and programs that use nameserver
information. Examples of programs that supply nameserver
information are: ifupdown, DHCP clients, the PPP daemon and
local nameservers. Examples of programs that use this
information are: DNS caches, resolver libraries and the
programs that use them.

>
> manchester-campaigns:/etc/network# dpkg -l |grep dhcp
> ii dhcp-client 2.0pl5-19.3 DHCP
> Client
> manchester-campaigns:/etc/network#


I use dhcp3-client which works with resolvconf, and also does dynamic
DNS. I don't know about the older (?) dhcp-client.

Neither of which would have solved your, wrong DNS address, though.

Wayne

--
On-line, adj.:
The idea that a human being should always be accessible to a computer.
__________________________________________________ _____


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Vieux 20/08/2007, 10h50   #19
Jörg-Volker Peetz
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut 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.


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 06h50.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,60982 seconds with 27 queries