[TriLUG] DNS + Linux +Windows

Chris Hedemark chrish at trilug.org
Tue May 27 16:13:39 EDT 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


On Tuesday, May 27, 2003, at 03:58 PM, Hite, Danny wrote:

> Is there a setting on the linux box to change so that a record is 
> created in the 2k dns server? Or will *nix write hostname records to 
> 2k dns servers?

This one dogged me for a little bit until I found it.  I wish it were 
the default in Red Hat to enable this but...

(This works on Red Hat... I don't know what distro you're running so 
YMMV)

Edit the file /etc/sysconfig/network and add a line that looks like:
DHCP_HOSTNAME="mybox.mydomain.com"

You can start restarting services, or reboot (probably easier if this 
is just a workstation).

That seems to work for me.

- --

Chris Hedemark
UNIX / Linux / BSD / Mac OS X / Windows consulting available.  No job 
too small!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (Darwin)

iEYEARECAAYFAj7TxvcACgkQYPuF4Zq9lvbv+ACg8sG98jzvfxVTYhK10VVKE6bF
AfwAnjHnhtlDDvEFm9Oj8+7CeoRaizYn
=/S/I
-----END PGP SIGNATURE-----




More information about the TriLUG mailing list