LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   DDNS configuration in RHEL 5.2 (https://www.linuxquestions.org/questions/linux-server-73/ddns-configuration-in-rhel-5-2-a-881392/)

Aneeshvm123 05-18-2011 08:14 AM

DDNS configuration in RHEL 5.2
 
Hi,

Friends i got an opertunity to configure ddns in my office.I already configured staic dns in linux, but this is the first time iam configuring ddns.I just configured ddns in rhel 5.2 in my office.So far every thing working fine,dhcp is giving ip address to the clients and both forward and reverse dns database is updating.

I have some questions about this:-

1) In windows we can use flushdns and registerdns commands to update the dns database, like this any command is in linux to update client details in dns database?

3)how to restrict multiple client entries keeping in dhcp database.

4)if i change client hostname it is not updating the dns database,it is keeping the old one.how to resolve this?

Please help friends..
Any help on this thread is appreciable.

Thanks&Regards,
Aneesh V.M

John VV 05-19-2011 12:20 AM

ask red hat and or use the documentation on the red hat web site
http://www.redhat.com/support/

you will need the username and password that your company set up when they bought there license for most of the red hat site
but the standard documents are available to all

https://access.redhat.com/knowledge/docs/
https://access.redhat.com/knowledge/...erprise_Linux/

Aneeshvm123 05-23-2011 05:22 AM

Hi,

Thanks for the response guru...

we dont have redhat support for linux.Even though i followed the standard documentaion and tried to configure ddns in vmplayer.It seems the dns and dhcp services are running but forward lookup zone is not updating.It is showing update denied error.i changed the permission and tried there is no luck.Did you faced this problem before?

John VV 05-23-2011 12:48 PM

Quote:

we dont have redhat support for linux.
so you can NOT install any security updates that red hat backported from 5.6 to 5.2

so in essence you are running a unprotected server ? if so NOT GOOD .

Quote:

tried to configure ddns in vmplayer
??
a question
Is rhel5.2 running in a vm on windows ?
or what
or is windows running in the VM ?

Aneeshvm123 05-24-2011 12:50 AM

Hi,

rhel5.2 running in a vm on windows xp.

Regards,
Aneesh V.M

Noway2 05-24-2011 03:57 AM

I agree with John VV, your setup is not good. Running an outdated distribution that you can't effectively patch and upgrade is both dangerous and unnecessary. There is nothing magical about running RHEL. If you want the RH experience, go with something like Centos or even Fedora. Running Linux on a VM inside of XP sounds a bit complicated and may cause you subtle oddities, so be aware of this. Now, as far as your questions goes:

Quote:

1) In windows we can use flushdns and registerdns commands to update the dns database, like this any command is in linux to update client details in dns database?
Restarting Bind will flush the DNS. I have been running Bind for dynamic dns for about 2 years and have never had an issue that has required me to flush it, however. The dynamic files are the journal (.jnl) files in your run time directory (e.g. under /var)
Quote:

3)how to restrict multiple client entries keeping in dhcp database.
I am not sure I understand this question. Your DHCP should not issue conflicting addresses. If you use multiple DHCP servers you need to configure them appropriately. Old entries will not be removed from the database, but the binding state will be free. This doesn't hurt anything and it isn't necessary to remove the entries.
Quote:

4)if i change client hostname it is not updating the dns database,it is keeping the old one.how to resolve this?
You would need to restart the system, or at least restart networking for the change to take effect. Simply changing the hostname isn't enough to get the machine to re-register with the DNS.

Aneeshvm123 05-24-2011 11:54 PM

Thanks for your valuable advice .I know Running Linux on a VM inside of XP is complicated.but i have to configure it in VM.This for some testing purpose.Instead of RHEL if i go through Cent OS will that work for me.Is it reliable.

John VV 05-25-2011 01:11 AM

cent is the free recompiled version of red hat
BUT there is a cravat
red hat supports any single version for 5( or 7) years ( long term support contract )
CentOS ONLY ONLY supports the ONE current version .
that is CentOS 5.6
and the older CentOS 4.9
Cent dose not yet have 6.0 or 6.1

just remember in a rhel or cent install the network set up is mostly manual
it was designed first and foremost for a headless server .Gnome and kde3 desktops were an after thought .

Aneeshvm123 05-26-2011 02:00 AM

Friends,

I think now i solved the problem of ddns in Linux VM.It seems every thing working fine.Dns is updating both forward and reverse lookup zones.Problem was with windows only.Thank you very much for you friends for giving your ideas.

Regards,
Aneesh V.M


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