LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-25-2003, 03:25 PM   #1
narshadda
LQ Newbie
 
Registered: Sep 2003
Posts: 7

Rep: Reputation: 0
How do I dynamically register RH9 in W2K DNS


I am running RH9 on my laptop and would like to have it dynamically register in DNS. The issue is that my DNS machine is running Windows 2000 Server SP 3. Anyone have any idea how to get this to work?

Thanks!
 
Old 10-30-2003, 10:27 AM   #2
d.hawk
LQ Newbie
 
Registered: Oct 2003
Posts: 5

Rep: Reputation: 0
I have a similar qustion except using RH8, so...bump.

I have done a bit of research on the subject have have a few thoughts. Aparently the WIN2K DNS Server is RFC 2136 (Dynamic DNS) complient...so in theory you should be able to set up your dhclient.conf file with the proper FQDN and key data and have it register, correct? The only problem is, if you only allow secure dynamic updates on you MS-DNS server, how do you set up the keys in order for it to securely authenticate.

Has anyone actually gotten this to work or found another way?

-d.hawk

EDIT: Found this info on the ms site:
Windows 2000 supports both dynamic update, defined in RFC 2136, and secure dynamic update, defined in the IETF Internet-Draft "GSS Algorithm for TSIG (GSS-TSIG)."

Last edited by d.hawk; 10-30-2003 at 10:45 AM.
 
Old 10-31-2003, 01:53 PM   #3
d.hawk
LQ Newbie
 
Registered: Oct 2003
Posts: 5

Rep: Reputation: 0
To answer part of my own question:

There are several ways in which you can accomplish dynamic DNS updates from a linux box to a Win2K DNS Server. The Win2K DNS Server is in fact RFC 2136 compliant, and uses TSIG keys for secure updates. TSIG keys require a "shared secret" to be known by both computers in order to generate and decode they keys. Windows uses Kerberos to distribute these secrets, and in what way im not quite sure yet (more to come on that later).
I did sucessfully get an A Host record inserted into an Active Directory Integrated Zone on a Win2K Adv. Server. Here are the steps I followed.

1.) On the properties of the Forward Lookup Zone that you want to update, goto Properties->General and make sure "Allow Dynamic Updates" is set to YES. This is a slight security hazard, considering a hacker could spoof an IP address and then register/modify/delete entries in this Zone.

2.) From your linux machine, draw a Dynamic IP address and make sure the DNS Server it got is the one you want to update to, then run the nsupdate command in the console.

>update add <your hostname>.yourdomain.com A <your IP address>
>
>quit

*note: you need to have that blank line in there before you quit, its what sends the command to the DNS server.

Now check your DNS server...there should be an A record in the Forward Lookup Zone of your domain.

This way of course is not acceptable since you dont want to have to run this command every time your draw an IP. You can also edit your dhclient.conf file and have the DHCP server authenticate for you. For more on that config, see this page.

Another Reference I found usefull.


If I figure out the Kerberos thing...I'll post more

-d.hawk

Last edited by d.hawk; 10-31-2003 at 01:58 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
How to register your own DNS linuxboy69 Linux - Networking 2 04-23-2005 09:35 PM
Problem in update The DNS Server Record Dynamically javabb Linux - Newbie 1 01-05-2005 02:58 PM
dynamically register ip address to windows 2000 dns PantherSE Linux - Networking 0 06-23-2004 12:38 PM
How DNS can be configured , to update records dynamically; when using DHCPd?????????? mwj Linux - Software 3 03-20-2004 11:01 AM
Register DNS merlin371 Linux - Networking 1 07-26-2003 09:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:00 AM.

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