RE: [newbie] DNS questions

2004-05-16 Thread Bill Shirley
Run a DNS server on your box and the problem is solved.

urpmi bind bind-utils

chkconfig --add named
chkconfig --levels 2345 named on

service named start

change /etc/resolv.conf to:
nameserver 127.0.0.1


HTH,
Bill

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Frank Bax
 Sent: Wednesday, May 12, 2004 11:56 AM
 To: [EMAIL PROTECTED]
 Subject: Re: [newbie] DNS questions
 
 
 At 11:04 AM 5/11/04, Frank Bax wrote:
 
 At 09:56 AM 5/11/04, Anders Lind wrote:
 
 On Tue, 11 May 2004 09:51:18 -0400
 Frank Bax [EMAIL PROTECTED] wrote:
 
   I have three Linux machines on the same network with a 
 bunch of windows
   machines.  The ip address of the server hosting 
 corporate email changed
   last week, but the old ip address was only unplugged 
 yesterday.  Two of
   the linux machines are unable to download email and 
 ping attempts to
   connect to the old ip address.  reboot didn't help.  
 Third linux machine
   and windows machines are working fine.  Looks like a dns 
 issue.  What 
  tools
   do I use to determine which nameserver Linux is using, 
 what ip address 
  that
   name server is providing for the server we are trying to reach?
  
   Frank
  
 Open /etc/resolv.conf as root with your favorite editor and 
 you can also 
 have a look in /etc/hosts so everything is the same on all 
 three boxes
 
 
 /etc/resolv.conf was different - change them all to match 
 what our router 
 has and all is well!
 
 But more questions.  We have a router with dsl modem here.  
 I use dhcp for 
 windows clients.  I gave each linux machine a static ip so I 
 can do remote 
 admin.  Is there a way to get the ip address of nameservers from the 
 router, like what would happen with dhcp, but still have 
 static addresses 
 for the linux machines?
 
 
 Does no-one have a solution to this nameserver problem?  My 
 Linux machines 
 went down again today - apparently my ISP (sympatico/bell) 
 changed name 
 servers and the ip addresses that worked yesterday don't work today!
 
 Frank
 
 
 


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] DNS questions

2004-05-12 Thread Frank Bax
At 11:04 AM 5/11/04, Frank Bax wrote:

At 09:56 AM 5/11/04, Anders Lind wrote:

On Tue, 11 May 2004 09:51:18 -0400
Frank Bax [EMAIL PROTECTED] wrote:
 I have three Linux machines on the same network with a bunch of windows
 machines.  The ip address of the server hosting corporate email changed
 last week, but the old ip address was only unplugged yesterday.  Two of
 the linux machines are unable to download email and ping attempts to
 connect to the old ip address.  reboot didn't help.  Third linux machine
 and windows machines are working fine.  Looks like a dns issue.  What 
tools
 do I use to determine which nameserver Linux is using, what ip address 
that
 name server is providing for the server we are trying to reach?

 Frank

Open /etc/resolv.conf as root with your favorite editor and you can also 
have a look in /etc/hosts so everything is the same on all three boxes


/etc/resolv.conf was different - change them all to match what our router 
has and all is well!

But more questions.  We have a router with dsl modem here.  I use dhcp for 
windows clients.  I gave each linux machine a static ip so I can do remote 
admin.  Is there a way to get the ip address of nameservers from the 
router, like what would happen with dhcp, but still have static addresses 
for the linux machines?


Does no-one have a solution to this nameserver problem?  My Linux machines 
went down again today - apparently my ISP (sympatico/bell) changed name 
servers and the ip addresses that worked yesterday don't work today!

Frank



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] DNS questions

2004-05-12 Thread Lanman
Frank Bax wrote:
At 11:04 AM 5/11/04, Frank Bax wrote:

At 09:56 AM 5/11/04, Anders Lind wrote:

On Tue, 11 May 2004 09:51:18 -0400
Frank Bax [EMAIL PROTECTED] wrote:
 I have three Linux machines on the same network with a bunch of 
windows
 machines.  The ip address of the server hosting corporate email 
changed
 last week, but the old ip address was only unplugged yesterday.  
Two of
 the linux machines are unable to download email and ping attempts to
 connect to the old ip address.  reboot didn't help.  Third linux 
machine
 and windows machines are working fine.  Looks like a dns issue.  
What tools
 do I use to determine which nameserver Linux is using, what ip 
address that
 name server is providing for the server we are trying to reach?

 Frank

Open /etc/resolv.conf as root with your favorite editor and you can 
also have a look in /etc/hosts so everything is the same on all three 
boxes


/etc/resolv.conf was different - change them all to match what our 
router has and all is well!

But more questions.  We have a router with dsl modem here.  I use dhcp 
for windows clients.  I gave each linux machine a static ip so I can 
do remote admin.  Is there a way to get the ip address of nameservers 
from the router, like what would happen with dhcp, but still have 
static addresses for the linux machines?


Does no-one have a solution to this nameserver problem?  My Linux 
machines went down again today - apparently my ISP (sympatico/bell) 
changed name servers and the ip addresses that worked yesterday don't 
work today!

Frank
Frank; You should check whether or not you can ping all the systems on 
your network first. ANY DNS server should work fine for the workstations 
if the router is managing your Internet connection to Bell.

Assuming that your router is using an internal pppoe system to connect, 
it's the only one that needs Bell's DNS servers. Your PC's can use any 
other DNS servers that you can find.

Try a Tier-1 ISP like MCI or Rogers, Shaw, or Videotron. You can get 
their DNS IP's by doing a Whois search on the Internet. If that 
doesn't get you the info you need, try www.dnstuff.net. They'll have 
the info for sure.

Have a look at the results I got for Sympatico.ca.

http://www.dnsstuff.com/tools/lookup.ch?name=sympatico.catype=A

Use the new DNS addresses for your workstations only - not for the 
router! Let the router get it's DNS from Sympatico, so that if they ever 
change again, the router will acquire the new ones automatically.

Also, consider using one of the PC's as a DHCP server. This will allow 
you to assign IP addresses to all 3 PC's by associating their MAC 
addresses to a specific IP address. That way, whether you're in Windows 
or Linux, each machine will always receive the exact same IP each time.

make sure you turn off the DHCP server which is running on your router, 
but leave the DHCP client on the router alone!

HTH

Lanman


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] DNS questions

2004-05-12 Thread Mikkel L. Ellertson
Frank Bax wrote:

But more questions.  We have a router with dsl modem here.  I use dhcp 
for windows clients.  I gave each linux machine a static ip so I can 
do remote admin.  Is there a way to get the ip address of nameservers 
from the router, like what would happen with dhcp, but still have 
static addresses for the linux machines?

Frank

Frank,
   What I usualy do is have the DHCP server give the Linux boxes a 
fixed IP address based on the MAC address of the NIC.  That way, you can 
use DHCP on the all the machines on the network, but still have a statis 
IP for the Linux machines.  Most routers I have seen will alow you to 
set up static IPs as well having a dynamic IP range for other machines.
 I usualy cheat in getting the MAC address for the machine by using 
normal DHCP setting for the first boot, and looking at the tables on the 
router to get the MAC address, and the using cut and past to put it in 
the static IP table.  You can also use ifconfig to get/set the MAC address.
 The only time you have to change things is if you change the NIC in 
one of the Linux machines.

Mikkel

--

 Do not meddle in the affairs of dragons,
for you are crunchy and taste good with Ketchup!



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] DNS questions

2004-05-12 Thread frankieh
Frank Bax wrote:

At 11:04 AM 5/11/04, Frank Bax wrote:

At 09:56 AM 5/11/04, Anders Lind wrote:

On Tue, 11 May 2004 09:51:18 -0400
Frank Bax [EMAIL PROTECTED] wrote:
 I have three Linux machines on the same network with a bunch of 
windows
 machines.  The ip address of the server hosting corporate email 
changed
 last week, but the old ip address was only unplugged yesterday.  
Two of
 the linux machines are unable to download email and ping attempts to
 connect to the old ip address.  reboot didn't help.  Third linux 
machine
 and windows machines are working fine.  Looks like a dns issue.  
What tools
 do I use to determine which nameserver Linux is using, what ip 
address that
 name server is providing for the server we are trying to reach?

 Frank

Open /etc/resolv.conf as root with your favorite editor and you can 
also have a look in /etc/hosts so everything is the same on all three 
boxes


/etc/resolv.conf was different - change them all to match what our 
router has and all is well!

But more questions.  We have a router with dsl modem here.  I use dhcp 
for windows clients.  I gave each linux machine a static ip so I can 
do remote admin.  Is there a way to get the ip address of nameservers 
from the router, like what would happen with dhcp, but still have 
static addresses for the linux machines?


Does no-one have a solution to this nameserver problem?  My Linux 
machines went down again today - apparently my ISP (sympatico/bell) 
changed name servers and the ip addresses that worked yesterday don't 
work today!

Frank


Hi Frank,

Many routers (like mine) have a DNS cache, so you can point the linux 
boxes to nameserver 192.168.0.1 (or whatever IP your router has).

I have a DNS entry that I put at the end of every resolv.conf, its 
139.130.4.5 which is telstra's (australian telecom) open DNS server, any 
ISP can use it.. its handy as a fall back, perhaps you should find one 
similiar in your area..

--
rgds
Franki


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] DNS questions

2004-05-11 Thread Anders Lind
On Tue, 11 May 2004 09:51:18 -0400
Frank Bax [EMAIL PROTECTED] wrote:

 I have three Linux machines on the same network with a bunch of windows 
 machines.  The ip address of the server hosting corporate email changed 
 last week, but the old ip address was only unplugged yesterday.  Two of 
 the linux machines are unable to download email and ping attempts to 
 connect to the old ip address.  reboot didn't help.  Third linux machine 
 and windows machines are working fine.  Looks like a dns issue.  What tools 
 do I use to determine which nameserver Linux is using, what ip address that 
 name server is providing for the server we are trying to reach?
 
 Frank

Open /etc/resolv.conf as root with your favorite editor and you can also have a look 
in /etc/hosts so everything is the same on all three boxes

/Anders


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] DNS questions

2004-05-11 Thread Brian Parish
/etc/resolv.conf should tell you the story unless you are running your
own nameserver on the linux machines.

On Tue, 2004-05-11 at 23:51, Frank Bax wrote:
 I have three Linux machines on the same network with a bunch of windows 
 machines.  The ip address of the server hosting corporate email changed 
 last week, but the old ip address was only unplugged yesterday.  Two of 
 the linux machines are unable to download email and ping attempts to 
 connect to the old ip address.  reboot didn't help.  Third linux machine 
 and windows machines are working fine.  Looks like a dns issue.  What tools 
 do I use to determine which nameserver Linux is using, what ip address that 
 name server is providing for the server we are trying to reach?
 
 Frank
 
 
 
 __
 
 Want to buy your Pack or Services from MandrakeSoft? 
 Go to http://www.mandrakestore.com
 Join the Club : http://www.mandrakeclub.com
 



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] DNS questions

2004-05-11 Thread Frank Bax
At 09:56 AM 5/11/04, Anders Lind wrote:

On Tue, 11 May 2004 09:51:18 -0400
Frank Bax [EMAIL PROTECTED] wrote:
 I have three Linux machines on the same network with a bunch of windows
 machines.  The ip address of the server hosting corporate email changed
 last week, but the old ip address was only unplugged yesterday.  Two of
 the linux machines are unable to download email and ping attempts to
 connect to the old ip address.  reboot didn't help.  Third linux machine
 and windows machines are working fine.  Looks like a dns issue.  What 
tools
 do I use to determine which nameserver Linux is using, what ip address 
that
 name server is providing for the server we are trying to reach?

 Frank

Open /etc/resolv.conf as root with your favorite editor and you can also 
have a look in /etc/hosts so everything is the same on all three boxes


/etc/resolv.conf was different - change them all to match what our router 
has and all is well!

But more questions.  We have a router with dsl modem here.  I use dhcp for 
windows clients.  I gave each linux machine a static ip so I can do remote 
admin.  Is there a way to get the ip address of nameservers from the 
router, like what would happen with dhcp, but still have static addresses 
for the linux machines?

Frank 



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com