LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 06-17-2004, 10:22 AM   #1
willhawes
LQ Newbie
 
Registered: Jun 2004
Posts: 6

Rep: Reputation: 0
Dynamic DNS


I have an Active Directory domain with a Windows 2003 Server domain controller running Microsoft DNS Server. I also have a router running a DHCP.

I have several Windows 2000/XP/2003 clients and a single client running Mandrake 8.2.

All clients (Windows and Linux) correctly obtain an IP address from the router. However, while the Windows boxes all register their hostnames on the DNS server on startup (whether joined to the domain or not), the Linux client does not.

The DNS server has "Secure and nonsecure updates" allowed.

Can anyone tell me why the hostname of the Linux machine is not registered in DNS?

Do I need to run DNS and DHCP on the domain controller for this to work correctly?

TIA

Will

Last edited by willhawes; 06-17-2004 at 10:25 AM.
 
Old 06-18-2004, 02:22 AM   #2
mascdman
Member
 
Registered: Jun 2004
Location: Canada
Distribution: Ubuntu 6.06 LTS
Posts: 152

Rep: Reputation: 30
From what I can find, it looks like if a DDNS server isn't configured to automatically generate hostnames and a DHCP client doesn't specify a FQDN or hostname, then no DDNS update occurs. Does configuring the linux machine to provide a hostname with its DHCP request make the DDNS update happen? Try adding DHCP_HOSTNAME=something.or.other.com to /etc/sysconfig/network.

--mascdman
 
Old 06-18-2004, 02:43 AM   #3
willhawes
LQ Newbie
 
Registered: Jun 2004
Posts: 6

Original Poster
Rep: Reputation: 0
I already have DHCP_HOSTNAME specified in /etc/sys/config. It looks like the problem lies with the Linux client, since all Windows clients successfully register their hostname in DDNS.

On the Linux machine, the following commands all produce the expected output:

uname -a
hostname (all variants)
 
Old 06-18-2004, 03:28 AM   #4
mascdman
Member
 
Registered: Jun 2004
Location: Canada
Distribution: Ubuntu 6.06 LTS
Posts: 152

Rep: Reputation: 30
What about adding DYNCONFIG=true to /etc/sysconfig/network-scripts/ifcfg-eth0 and/or adding
Code:
send fqdn.fqdn "fqdn.example.com";
send fqdn.encoded on;
send fqdn.server-update off;
to /etc/dhclient.conf? (On my Mandrake 10.0, I have a /etc/dhclient-eth0.conf instead, use which ever you have)

--mascdman
 
Old 06-18-2004, 03:56 AM   #5
willhawes
LQ Newbie
 
Registered: Jun 2004
Posts: 6

Original Poster
Rep: Reputation: 0
thanks.

tried adding DYNCONFIG=true, that had no effect.

the other suggestion i can't follow because i don't have either of the files mentioned on the system.

what do you suggest?
 
Old 06-18-2004, 04:32 AM   #6
mascdman
Member
 
Registered: Jun 2004
Location: Canada
Distribution: Ubuntu 6.06 LTS
Posts: 152

Rep: Reputation: 30
Try creating those dhclient.conf files one at a time, add those lines in, and then restart the network.

--mascdman
 
Old 06-18-2004, 05:09 AM   #7
willhawes
LQ Newbie
 
Registered: Jun 2004
Posts: 6

Original Poster
Rep: Reputation: 0
have now tried that and again no effect - hostname is still not registered in DDNS.
 
Old 06-18-2004, 03:25 PM   #8
mascdman
Member
 
Registered: Jun 2004
Location: Canada
Distribution: Ubuntu 6.06 LTS
Posts: 152

Rep: Reputation: 30
What about
Code:
send host-name "fqdn.something.com";
in /etc/dhclient.conf or /etc/dhclient-eth0.conf?

--mascdman
 
Old 06-21-2004, 03:34 AM   #9
willhawes
LQ Newbie
 
Registered: Jun 2004
Posts: 6

Original Poster
Rep: Reputation: 0
still nothing
 
Old 06-21-2004, 04:24 AM   #10
mascdman
Member
 
Registered: Jun 2004
Location: Canada
Distribution: Ubuntu 6.06 LTS
Posts: 152

Rep: Reputation: 30
I hate to say it, but I'm out of ideas...

--mascdman
 
Old 06-21-2004, 04:36 AM   #11
willhawes
LQ Newbie
 
Registered: Jun 2004
Posts: 6

Original Poster
Rep: Reputation: 0
never mind, thanks for trying

i'm downloading Mandrake 10.0 as I type so hopefully this particular problem can be solved that way instead.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Dynamic DNS exy123 Linux - Software 1 09-22-2005 01:25 AM
Dynamic DNS sporkit Linux - Networking 3 04-28-2004 08:07 AM
Dynamic DNS pyfsapple Linux - Networking 7 05-08-2003 08:05 PM
dynamic DNS linowes Linux - Networking 8 02-21-2003 03:16 AM
Dynamic DNS GOLDF1NG3R Linux - Networking 3 11-20-2001 07:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 07:27 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration