LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 12-08-2006, 11:14 AM   #1
nsvora
LQ Newbie
 
Registered: Oct 2006
Posts: 16

Rep: Reputation: 0
Question Dynamic DNS with static IP configuration


Hi All,
I have a LINUX client computer having static IP configuration ( without DHCP). And if this configuration is changed, should this information be updated in the DNS server?

In short, does Dynamic DNS make sense with static IP configuration?

Any comment in this regard is highly appreciated.

With Regards,
nsv
 
Old 12-08-2006, 08:43 PM   #2
squisher
Member
 
Registered: Apr 2005
Location: Abq, NM
Distribution: Debian, Ubuntu
Posts: 40

Rep: Reputation: 15
If you have a static IP, you can't have dynamic DNS - how could you?

If your IP changes, then of course the DNS should be updated. But since it is static, you'd have to do that by hand.

An alternative is to use DHCP but assign static addresses. That way you could run dynamic DNS, and you only have to edit the dhcp config then if the IP address ever changes.
 
Old 12-09-2006, 12:25 AM   #3
nsvora
LQ Newbie
 
Registered: Oct 2006
Posts: 16

Original Poster
Rep: Reputation: 0
Thanks for the reply squisher.
I have a user interface implementation through which user can change the lan configuration i.e static IP configuration could be changed using this implementation.

In case, lan configuration is acheived via DHCP , the DHCP client implementation automatically sends updates to the DNS server.

But in case, user changes the lan configuration manually as above, should DNS server be updated using Dynamic DNS update packet ?

- nsvora
 
Old 12-09-2006, 04:36 PM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,414

Rep: Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967
not sure what to add to the above really, yes you should change it, but nothing will happen automatically unless you take more advanced steps to make that so. couldn't tell you ways to automate it offhand, but assuming that you think a pc will tell a dns server it's got a certain IP out of the blue, that's not going to happen. it's the kind of thing that windows active directory domain members do in a windows world, but that's a nasty mess, and also invovles a lot of trust relationships and what not, as indeed it should, because a nominal client should never be allowed to update anythign on a server without explicit permissions.
 
Old 12-10-2006, 02:17 AM   #5
squisher
Member
 
Registered: Apr 2005
Location: Abq, NM
Distribution: Debian, Ubuntu
Posts: 40

Rep: Reputation: 15
Quote:
Originally Posted by nsvora

But in case, user changes the lan configuration manually as above, should DNS server be updated using Dynamic DNS update packet ?

- nsvora
It would probably be overkill to write a program that responds to a manual change with a Dynamic DNS update packet (even though there might be something out there that you can use, I did not check). If that user interface you mention is open source / can be modified by you, then it should not be particularly hard to write a little script or so that after the user manually changes the IP address, also updates the files of the DNS server and then forces it to re-read them.
 
Old 12-10-2006, 02:50 AM   #6
nsvora
LQ Newbie
 
Registered: Oct 2006
Posts: 16

Original Poster
Rep: Reputation: 0
Question

Quote:
Originally Posted by squisher
It would probably be overkill to write a program that responds to a manual change with a Dynamic DNS update packet (even though there might be something out there that you can use, I did not check). If that user interface you mention is open source / can be modified by you, then it should not be particularly hard to write a little script or so that after the user manually changes the IP address, also updates the files of the DNS server and then forces it to re-read them.
Thanks for the reply squisher.
I could write the software for that. It should not be a problem to have software which updates the DNS server. But only thing I wanted to check is, whether it is valid to update the DNS server even if we have manually configured LAN configuration ( IP Address, Hostname )?
 
Old 12-10-2006, 03:06 AM   #7
squisher
Member
 
Registered: Apr 2005
Location: Abq, NM
Distribution: Debian, Ubuntu
Posts: 40

Rep: Reputation: 15
Quote:
Originally Posted by nsvora
But only thing I wanted to check is, whether it is valid to update the DNS server even if we have manually configured LAN configuration ( IP Address, Hostname )?
Of course! Not a thing in the world wrong with that. In fact I believe that it is a very common situation. And if you can do it easy (update config files) instead of elegant but cumbersome (dynamic ip update protocol), then even better ;-)
 
  


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
Dynamic IP to Static Temujin_12 *BSD 2 06-10-2005 05:58 PM
Setting Static DNS with Dynamic IP michaelg Linux - Networking 2 10-04-2004 02:49 AM
Static vs Dynamic Big Al Linux - Networking 2 12-08-2003 04:10 PM
NS with static or dynamic IP cijunet Linux - Networking 3 05-09-2003 12:04 AM
DNS, NIS, Static <-> Dynamic DHCP, Proxy bjc Linux - Networking 5 11-12-2000 06:20 AM


All times are GMT -5. The time now is 01:51 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration