|
|
|
|
||||||
| linux.debian.user debian-user@lists.debian.org. |
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
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 |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
> 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 |
|
|
|
#3 |
|
Messages: n/a
Hébergeur: |
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... |
|
|
|
#4 |
|
Messages: n/a
Hébergeur: |
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 |
|
|
|
#5 |
|
Messages: n/a
Hébergeur: |
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 |
|
|
|
#6 |
|
Messages: n/a
Hébergeur: |
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 |
|
|
|
#7 |
|
Messages: n/a
Hébergeur: |
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 |
|
|
|
#8 |
|
Messages: n/a
Hébergeur: |
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 |
|
|
|
#9 |
|
Messages: n/a
Hébergeur: |
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 |
|
|
|
#10 |
|
Messages: n/a
Hébergeur: |
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 |
|
|
|
#11 |
|
Messages: n/a
Hébergeur: |
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 |
|
|
|
#12 |
|
Messages: n/a
Hébergeur: |
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 |
|
|
|
#13 |
|
Messages: n/a
Hébergeur: |
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 |
|
|
|
#14 |
|
Messages: n/a
Hébergeur: |
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 |
|
|
|
#15 |
|
Messages: n/a
Hébergeur: |
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 |
|
|
|
#16 |
|
Messages: n/a
Hébergeur: |
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 |
|
|
|
#17 |
|
Messages: n/a
Hébergeur: |
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 |
|
|
|
#18 |
|
Messages: n/a
Hébergeur: |
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 |
|
|
|
#19 |
|
Messages: n/a
Hébergeur: |
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 |
|
![]() |
| Outils de la discussion | |
|
|