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

Re: [sheflug] DNS was Re: help with Broadband



J Simpson V21 wrote:
> Marc wrote:
> 
> If the router can see things, then check is to make sure your
> /etc/resolv.conf has the right things in it, the DHCP client on your
> box usually sorts that out. On your box then you can try ping and name
> lookups as well, traceroute is also useful.
> 
> Hi
> I plucked up the courage and opened a terminal and typed what I thought
> would list the contents cat resolv.conf and got
> search localdomain
> 
> I wasn't quite sure what cat was so I opened the resolv.conf in gedit
> and it said
> search localdomain.

'cat concatenates files and prints them on the standard output' is what 
you get from the man pages for the cat command.  It's a handy way of 
looking at file contents because you can say 'cat <filename>' in a 
console and it does what you saw it do, prints the contents of the file 
to screen (which is your standard output).

When in a console you can look at the cat man pages by typing in

man cat

> 
> So I presume this would be the problem?  Could someone tell me what I
> should have in there?  And can I do it in gedit?  Just a thought can I 
> do what I have to do through network device, configure, DNS?
> 
> I have contacted my ISP they have given me two DNS server IP address.
> I opened up mozilla and typed 192.168.0.1 to get to the router.
> On the basic settings screen, it was marked  'get automatically from
> ISP'  under DNS address.  I changed that to ''use these DNS servers' and
> added the two IP addresses my ISP had given me to Primary DNS, secondary
> DNS, but it didn't make any difference.
> 
> When I have changed the resolv.conf file will I be using 'get
> automatically from ISP' or 'use these DNS servers'?

I'm not sure how this 'get automatically from ISP' works with respect to 
an internal LAN and the issues you've been experiencing.  All I am sure 
of with this is that the /etc/resolv.conf files have to be the same in a 
network and if you don't run DHCP on your LAN, how does the DNS 
information propagate from the router inwards?  Does the router offer a 
DNS service to the LAN?

Glad you got it working btw.
Regards

Lesley






___________________________________________________________________

Sheffield Linux User's Group -
http://www.sheflug.co.uk/mailfaq.html

  GNU the choice of a complete generation.