Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Dynamic dns updates through DHCP
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Sylgeist
n00b
n00b


Joined: 04 Dec 2002
Posts: 36
Location: USA

PostPosted: Tue Oct 14, 2003 5:13 pm    Post subject: Dynamic dns updates through DHCP Reply with quote

I have an interesting issue -

I was given aproval to install linux on a small server at my work for filesharing between people in my group. I have no control over the DHCP, DNS, etc for the company.

I can get an address from DHCP fine and access the network but apparently it is not updating the DNS server like the Windows clients do (they are W2k servers).

I have tried a lot of dhcp client options and the most I can get is this: (I have changed the name below)

Oct 14 10:11:07 test1dhclient: if IN A test1.mydomain.com rrset doesn't exist add 3600 IN A test1.mydomain.com 10.3.120.218 add 3600 IN TXT test1.mydomain.com "004edc959a896f92332c664927e1d09889": ran out of space.

Anyone know what's up?
Back to top
View user's profile Send private message
labrador
Guru
Guru


Joined: 04 Oct 2003
Posts: 316

PostPosted: Tue Oct 14, 2003 5:32 pm    Post subject: More details.... Reply with quote

Is this using a Dynamic DNS service or are you on an internal LAN?

If your set up relies on the DNS client to tell the DNS server what IP it got, that is something I've never seen done. Generally when you are running a server you want the IP address to be known to DNS, or else DHCP should have a mapping of your MAC address to an IP address so that it can be consistently assigned.

Without this, I'd think any machine could be plugged into your LAN and pretend to be one of your servers. I'd think that you should be able to request whatever solution is made available for other servers in your group. After all it isn't a client machine if it needs to be found on the network reliably.
Back to top
View user's profile Send private message
Sylgeist
n00b
n00b


Joined: 04 Dec 2002
Posts: 36
Location: USA

PostPosted: Tue Oct 14, 2003 5:53 pm    Post subject: Reply with quote

I am on the internal LAN - We have an active directory W2k server system that is DHCP,DNS, etc.

If a windows client hooks on to the network they get an IP and their host name is added to the DNS server. I am not able to get that to work with the linux box.
Back to top
View user's profile Send private message
X
Apprentice
Apprentice


Joined: 30 Apr 2002
Posts: 192
Location: Lexington KY

PostPosted: Tue Oct 14, 2003 6:33 pm    Post subject: Reply with quote

Uncanny. I was just allowed to install gentoo on the machine where I work, and I'm having the same problem.

Basically, I can resolve my old hostname from when I used windows to the old ip address... but my new ip addresses after installing gnetoo aren't updating in the dns server... we use windows 2003 with active directory.
Back to top
View user's profile Send private message
think4urs11
Bodhisattva
Bodhisattva


Joined: 25 Jun 2003
Posts: 6659
Location: above the cloud

PostPosted: Tue Oct 14, 2003 7:10 pm    Post subject: Reply with quote

maybe this is somewhat useful...

http://www.mail-archive.com/linux-il@cs.huji.ac.il/msg28327.html

HTH
T.
_________________
Nothing is secure / Security is always a trade-off with usability / Do not assume anything / Trust no-one, nothing / Paranoia is your friend / Think for yourself
Back to top
View user's profile Send private message
X
Apprentice
Apprentice


Joined: 30 Apr 2002
Posts: 192
Location: Lexington KY

PostPosted: Tue Oct 14, 2003 7:39 pm    Post subject: Reply with quote

Think4UrS11 wrote:
maybe this is somewhat useful...

http://www.mail-archive.com/linux-il@cs.huji.ac.il/msg28327.html

HTH
T.


Close, but I think that post is basically saying install BIND as your DNS and have the windows clients use that.... unfortunately, that's not possible for me. Gotta use the Win 2003 DNS
Back to top
View user's profile Send private message
think4urs11
Bodhisattva
Bodhisattva


Joined: 25 Jun 2003
Posts: 6659
Location: above the cloud

PostPosted: Tue Oct 14, 2003 8:02 pm    Post subject: Reply with quote

Due to the fact M$ uses some draft/proposed extensions for DNS/DHCP the only chance you have then is to let your admins create the needed entrys (A + RR) manually.
AFAIK there is now way (yet) to do DDNS for non-M$ clients with that AD-integrated stuff.

If there is one - i'd like to have a solution too :roll:
HTH
T.
_________________
Nothing is secure / Security is always a trade-off with usability / Do not assume anything / Trust no-one, nothing / Paranoia is your friend / Think for yourself
Back to top
View user's profile Send private message
Sylgeist
n00b
n00b


Joined: 04 Dec 2002
Posts: 36
Location: USA

PostPosted: Tue Oct 14, 2003 9:52 pm    Post subject: Reply with quote

Thanks for the info everyone - I think i will try and get a static IP and manual dns entry.
Back to top
View user's profile Send private message
Lightspeed
n00b
n00b


Joined: 21 Feb 2003
Posts: 57
Location: UK

PostPosted: Sun Oct 19, 2003 12:07 am    Post subject: Reply with quote

Perhaps you could ask to have the DHCP server configured to do the dynamic updating of addresses in DNS for those clients which don't do so themselves. Assuming the DHCP server is also an MS-based one, it will certainly be capable of this.
Back to top
View user's profile Send private message
curtis119
Bodhisattva
Bodhisattva


Joined: 10 Mar 2003
Posts: 2160
Location: Toledo, Ohio,USA, North America, Earth, SOL System, Milky Way, The Universe, The Cosmos, and Beyond.

PostPosted: Sun Oct 19, 2003 4:51 am    Post subject: Reply with quote

There is an option in MS dhcp server to do the DNS update for clients that don't support it directly. It has to be turned on by the admin (not on by default). It works great for Macs. Not sure with Linux though. Or you could get them to give your machine a static IP.
_________________
Gentoo: it's like wiping your ass with silk.
Back to top
View user's profile Send private message
dma
Guru
Guru


Joined: 31 Jan 2003
Posts: 437
Location: Charlotte, NC, USA

PostPosted: Sun Oct 19, 2003 7:47 pm    Post subject: Re: Dynamic dns updates through DHCP Reply with quote

Sylgeist wrote:
I have an interesting issue -

I was given aproval to install linux on a small server at my work for filesharing between people in my group. I have no control over the DHCP, DNS, etc for the company.

I can get an address from DHCP fine and access the network but apparently it is not updating the DNS server like the Windows clients do (they are W2k servers).

I have tried a lot of dhcp client options and the most I can get is this: (I have changed the name below)

Oct 14 10:11:07 test1dhclient: if IN A test1.mydomain.com rrset doesn't exist add 3600 IN A test1.mydomain.com 10.3.120.218 add 3600 IN TXT test1.mydomain.com "004edc959a896f92332c664927e1d09889": ran out of space.

Anyone know what's up?


Did you try using the -h myhostname option with dhcpcd? It worked for me with ICS. It is in /etc/conf.d/net.

I became myhostname.mshome.net when I used that parameter.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum