Re: [Cooker] how to set up DNS (client)

2003-08-28 Thread Todd Lyons
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Pierre Jarillon wanted us to know:

>> To disable dynamique DNS attribution via DHCP,
>> put PEERDNS=no in /etc/sysconfig/network
>Very useful ! But where can I find this information ? Is there other 
>instructions allowed ?

man ifcfg
- -- 
Blue skies...   ToddPublic key: http://www.mrball.net/todd.asc
 I like this world...billions of people walking around 
 like Happy Meals with legs--Spike
Linux kernel 2.4.21-0.25mdk   6 users,  load average: 0.00, 0.00, 0.00
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: http://www.mrball.net/todd.asc

iD8DBQE/TW8WIBT1264ScBURAsksAKCd++P5CUJb1RhLZ5O5agRJmfIqDACfUETe
o59zeRatpPtQv0s6WZsMIzo=
=6f9Y
-END PGP SIGNATURE-



Re: [Cooker] how to set up DNS (client)

2003-08-28 Thread Guillaume Rousse
Ainsi parlait Pierre Jarillon :
> Le Lundi 25 Août 2003 17:06, Gilles Mocellin a écrit :
> > On Mon, Aug 25, 2003 at 09:18:50AM +0200, Udo Rader wrote:
> >
> > To disable dynamique DNS attribution via DHCP,
> > put PEERDNS=no in /etc/sysconfig/network
>
> Very useful ! But where can I find this information ? Is there other
> instructions allowed ?
in usual location, see /usr/share/doc/initscript-*/sysconfig.txt and 
/usr/share/doc/initscript-*/sysvinitfiles
-- 
Guillaume Rousse
The only perfect science is hind-sight
-- Murphy's Laws on Technology n°27




Re: [Cooker] how to set up DNS (client)

2003-08-28 Thread Pierre Jarillon
Le Lundi 25 Août 2003 17:06, Gilles Mocellin a écrit :
> On Mon, Aug 25, 2003 at 09:18:50AM +0200, Udo Rader wrote:

> To disable dynamique DNS attribution via DHCP,
> put PEERDNS=no in /etc/sysconfig/network

Very useful ! But where can I find this information ? Is there other 
instructions allowed ?

It would be useful to have some comments in the file  /etc/sysconfig/network
or a link to /usr/share/doc/
or for example in another file such as  /etc/sysconfig/network.samples

-- 
Pierre Jarillon - http://pjarillon.free.fr/
Vice-président de l'ABUL : http://abul.org/




Re: [Cooker] how to set up DNS (client)

2003-08-25 Thread Gilles Mocellin
On Mon, Aug 25, 2003 at 09:18:50AM +0200, Udo Rader wrote:
hi helge,

/etc/resolv.conf is the perferct place for DNS servers. If
/etc/resolv.conf is being overwritten, the only guess I have is that you
have DHCP in action. 

Part of DHCP is that it sets information about nameservers. So if you want
to disable /etc/resolv.conf from being overwritten by the dhclient, check
your dhcp configuration (have none here, so can't help you further).
To disable dynamique DNS attribution via DHCP,
put PEERDNS=no in /etc/sysconfig/network



Re: [Cooker] how to set up DNS (client)

2003-08-25 Thread Udo Rader
hi helge,

/etc/resolv.conf is the perferct place for DNS servers. If
/etc/resolv.conf is being overwritten, the only guess I have is that you
have DHCP in action. 

Part of DHCP is that it sets information about nameservers. So if you want
to disable /etc/resolv.conf from being overwritten by the dhclient, check
your dhcp configuration (have none here, so can't help you further).

happy hacking

udo

Am Sun, 24 Aug 2003 17:31:32 + schrieb Helge Hielscher:

> Hello,
> 
> the DNS of my gateway doesnt work reliable so I put additional
> nameservers in /etc/resolv.conf.
> The problem is: /etc/resolv.conf gets rewritten every time. Is there a
> better place to add additional name servers?
> 
> TIA and Regards,
> Helge



Re: [Cooker] how to set up DNS (client)

2003-08-25 Thread Greg Meyer
On Sunday 24 August 2003 08:26 pm, Michael Lothian wrote:
> /etc/hosts
> 
> Will allow you to tell the it what ip should be used for each name you give
> 
I believe he wanted to add additional DNS servers for resolution, not 
resolution for specific hosts.

> Mike
> 
> Helge Hielscher wrote:
> 
> >Hello,
> >
> >the DNS of my gateway doesnt work reliable so I put additional nameservers
> >in /etc/resolv.conf.
> >The problem is: /etc/resolv.conf gets rewritten every time. Is there a
> >better place to add additional name servers?
> >
> >TIA and Regards,
> >Helge
> >
> >
> >  
> >
> 
> 
> 
> 

-- 
/g

"Outside of a dog, a man's best friend is a book, inside
a dog it's too dark to read" -Groucho Marx



Re: [Cooker] how to set up DNS (client)

2003-08-25 Thread Michael Lothian
/etc/hosts

Will allow you to tell the it what ip should be used for each name you give

Mike

Helge Hielscher wrote:

Hello,

the DNS of my gateway doesnt work reliable so I put additional nameservers
in /etc/resolv.conf.
The problem is: /etc/resolv.conf gets rewritten every time. Is there a
better place to add additional name servers?
TIA and Regards,
Helge
 





[Cooker] how to set up DNS (client)

2003-08-24 Thread Helge Hielscher
Hello,

the DNS of my gateway doesnt work reliable so I put additional nameservers
in /etc/resolv.conf.
The problem is: /etc/resolv.conf gets rewritten every time. Is there a
better place to add additional name servers?

TIA and Regards,
Helge