Sunday, February 06, 2005

Configuring Dynamic DNS in Redhat Linux 8/9 OR A small How-to on DDNS

Hey to All on a Lazy Sunday AfterNoon,

Just before i hit out on the roads with my friends , lemme write something useful and as i promised last time i would be writting on Dynamic DNS services and it is very easy to configure as easy as it is on Windows Server.

WIth the Dynamic DNS service you can update the name for windows clients ... and the advantages are many fold.

Starting below is how you do it :

Step 1 :

First make sure you have the necessary RPMs installed:

# rpm -qa egrep "^bind^dhcp"

Which should show you have the following three RPMs installed:


Step 2 :

If you Dunn have the above packages no sweat . It is not very difficult to install them.

  • Get them from the Redhat 8/9 CD's from which you did the installation

  • If you have apt/yum installed use it as :
    #apt-get install bind and so on for the other packages

The other and more tedious way to be do it from the source or download an RPM and do a
#rpm -ivh <>

Step 3 :

Assuming that you have dhcpd and bind installed properly lets go on with the configration reqd and i am assuming the name of the domain that i am making as and IP block as /16

Starting with dhcp server here is the part of /etc/dhcpd.conf that needs to be tweaked.

# Turn on Dynamic DNS:
ddns-update-style interim;
ddns-updates on;

# Don't allow clients to update DNS, make the server do it
# based on the hostname passed by the DHCP client:
deny client-updates;
allow unknown-clients;

# Configure the client's DNS settings:
option domain-name "";
option domain-name-servers;

Starting with dhcp server here is the part of /etc/named.conf that needs to be tweaked.

zone "" in {
type master;
file "";
allow-update { localhost; };

zone "" IN {
type master;
file "192.168.0.rev";
allow-update { localhost; };

include "/etc/rndc.key";

Step 4 :

Generate a sha1 MD5 key on the localhost for rdnc to work.

Below is how will you put the key :

key "rndckey" {
algorithm hmac-md5;
secret "loFiocFzppGDq0OuFGDTFbSLNKpYjwjlhOZrkBVlNEozEIerNWDhcjeNOtZe";

Step 5 :

This needs to be added to the file /var/ for the DDNS updates to be done :

; This file will be automatically updated when a DHCP assigns an address
$TTL 600 ; 10 minutes

This needs to be added to the file /var/192.168.0.rev for the DDNS updates to be done :

; This file will be automatically updated when DHCP issues an address
$TTL 600 ; 10 minutes

These lines are to be put at the end of the respective files as mentioned.

Step 6 :

Last but not the least reload the DNS and the DHCP server and also what i assumed in the above config is that the DNS and the DHCP server are on the same machine. If not you need to tweak the /etc/named.conf and /etc/rdnc.conf to get it working. Feel free to Message me in case you need to know more on it.

Now i am off to Coffee though a lill early :D

Till Then Take Care


At 3/17/2006 08:00:00 PM, Anonymous vortex (a) said...

Have you ever set up rev-DDNS for CIDR non-RFC1918 network.

My ISP can delegate NS per IP or CNAME style, but DHCP wants to only register at the "class C" zone.

Grateful for any tips on this.


At 2/04/2009 11:14:00 AM, Anonymous Anonymous said...

Joy in warcraft leveling living comes wow lvl from having wow lvl fine emotions,wow power level trusting them,power leveling giving them power leveling the freedom of wrath of the lich king power leveling a bird in the open.wlk power leveling Joy in living can age of conan gold never be assumed as a pose,or put on from guildwars gold the outside as a mask. People who have this joy don not need maple story mesos to talk about it; they radiate it. wow gold They just live out their joy and let wow power leveling it splash its sunlight and glow into other lives as naturally as bird sings.

At 8/13/2009 03:18:00 AM, Anonymous Anonymous said...

dessicant air dryer pediatric asthma asthma specialist

carpet cleaning dallas tx carpet cleaners dallas carpet cleaning dallas

beach vacations your beach vacations
bob hairstyle

bob haircuts bob layered pob hairstyle

bobbed classic bob Care for Curly Hair

Tips for Curly Hair curly hair 12r 22.5 best price

tires truck bus tires 12r 22.5 washington new house

new house Houston new house san Antonio new house ventura

sealy air beds portable portables air beds

antique doorknobs drying desiccant

air drying desiccantlipitor allergic reactionsApple prodam iphone prahaflorida headache clinic

cheap beach vacationsnight vision binoculars bargains

At 8/13/2009 03:18:00 AM, Anonymous Anonymous said...

new houston house houston house tx stains removal dye

stains removal clothes stains removal teeth whitening

teeth whiteningbright teeth jennifer grey nose

jennifer nose jobs calebrities nose jobs Women with Big Noses

Women hairstyles Big Nose Women, hairstylesdvd player troubleshootingtroubleshooting with the dvd player

At 10/25/2009 09:17:00 PM, Blogger Adi said...

Thank you for sharing.
Oes Tsetnoc | Mengembalikan Jati Diri Bangsa | Kenali dan Kunjungi Objek Wisata di Pandeglang | Oes tsetnoc | Online Marketing | Electronics Gadgets | etips solution | Travel Guide

At 10/29/2009 02:34:00 PM, Blogger The Jack said...

Thanks ever so much, very useful article. If you do not mind, please visit my article related to pandeglang district in Banten, Indonesia at Kenali dan Kunjungi Objek Wisata di Pandeglang or Kenali dan Kunjungi Objek Wisata di Pandeglang second and also Kenali dan Kunjungi Objek Wisata di Pandeglang Objek Wisata Air Terjun Curug Gendang and Kesenian Debus, Sejarah dan Ciri Khas Wisata Banten and our hard work at Kerja Keras Adalah Energi Kita that's right Kerja Keras Adalah Energi Kita, and Kenali dan Kunjungi Objek Wisata di Pandeglang Memasuki Babak Akhir also Objek Wisata Taman Wisata Alam Carita, Kenali dan Kunjungi Objek Wisata di Pandeglang, or Kenali dan Kunjungi Objek Wisata di Pandeglang, also Kenali dan Kunjungi Objek Wisata di Pandeglang, or Kenali dan Kunjungi Objek Wisata di Pandeglang, also Kenali dan Kunjungi Objek Wisata di Pandeglang, or Kenali dan Kunjungi Objek Wisata di Pandeglang, also Kenali dan Kunjungi Objek Wisata di Pandeglang, or Kenali dan Kunjungi Objek Wisata di Pandeglang, very smart thank you!

At 11/15/2009 09:35:00 AM, Blogger Daniela said...

Find your great Travel News and sing the songs at Free Song Lyric or you can watch the drama at Korea Drama Online one of great korea drama is A Love to Kill if you go to travel to Indonesia learn Learn Indonesia Language first! And find your home cari rumah or make a blog Belajar membuat Blog find your home again rumah dijual and again at jual rumah then if you want buy a new laptop see the Laptop Price List or you can buy a New Blackberry and then take care your Health & Jewerly.

At 11/25/2009 10:18:00 PM, Blogger bitheads said...

I don’t know If I said it already, but this so good stuff keep up the good work. I read a lot of blogs on a daily basis and for the most part Belajar blogging just wanted to make a quick comment to say I’m glad I found your blog. Thanks.

Best regards
Seo Motivation Oes tsetnoc faq

At 12/10/2009 07:00:00 AM, Anonymous nike shox torch said...

Nice work and thanks!
Adidas currently manufactures several running shoesNike shoes, including the adiStar Control 5, the adiStar Ride
Cheap nike shoes
Discount nike shoes
the Supernova Sequence and the Supernova Cushion 7, among others.
Nike shox r4
nike shox torch
nike shox shoes
Adidas also uses kangaroo leather to make their more expensive shoes.
Association football
One of the main focuses of Adidas is football kit and associated equipment.
puma cat
cheap sport shoes
Adidas also provides apparel and equipment for all teams in Major League Soccer. Adidas remain a major company in the supply of team kits for international football teams.
cheap nike shox
cheap nike max
Adidas also makes referee kits that are used in international competition and by many countries and leagues in the world. In the United States, referees wear the Adidas kits in MLS matches even though the primary referee supplier is Official Sports.
nike tn dollar
nike running shoes
The company has been an innovator in the area of footwear for the sport with notable examples including development of the Copa Mondial moulded boot on firm dry pitches for forty years.
nike air max tn
puma shoes
Adidas became renowned for advancing the "Predator" boot design.This design featured a ribbed rubber structure for the upper leather of the shoe, used to accent the movement of the ball.
discount puma shoes
puma mens shoes
The Predator also features the Craig Johnston invented "Traxion" sole. As the development and popularity of Football continued Adidas played a leading role in shaping the style of the play itself.
puma running shoes
puma shoes
FIFA, the sports governing body, commissioned specially designed footballs for use in its own World Cup tournaments to favour more attacking play.
ghd hair straighteners mk4
hair straightners
ghd iv styler hair straightener
ghd hair straightners
cheap ghd hair straighteners

At 12/10/2009 07:03:00 AM, Anonymous nike shox torch said...

Clothing has always been a thing that has been given a great importance by human beings. It displays the attitude that the people exhibit.
ed hardy clothes
ed hardy shirts
Lots of brands have been existent in the clothing industry and a famous one among them is the Ed hardy clothing brand.
ed hardy jackets
ed hardy hoodies
The brand got its name from the famous American tattoo artist Ed Hardy. He was a very famous tattoo artist and has published many books on tattooing techniques.
ed hardy boots
ed hardy polo shirts
But his tattooing turned into a brand by the efforts of a company called Christian Audiger. This company was a very famous and very powerful company in the field of clothing.
ed hardy shoes
ed hardy jeans
They felt that it would be appropriate to create a brand called Ed hardy and use Hardy's art as the main selling point for the brand. This venture had turned out to be a very successful one and Ed hardy clothing is one of the most famous brands in the clothing industry.
ed hardy outerwear
ed hardy long sleeve shirts
The brand became very famous because it was worn by many famous celebrities like Madonna, Britney spears and also Sylvester Stallone.
ed hardy bags
ed hardy winter boots
The brand has clothes for men, women, and kids. They have also diversified their business by having a lot of accessories to support their clothing business.
ed hardy love kills slowly shirts
ed hardy love kills slowly shoes
ed hardy love kills slowly boots
for men they have a variety of products such as active wear, denim, outwear, swim trucks, sweaters, t-shirts, tops etc.
ed hardy trousers
ed hardy mens
the accessories include things such as belts, caps, scarves, shoes, socks, jeweler, sunglasses, ties and even wallets.
The art works is a unique combination of American and Japanese cultures. The unique selling proposition of the brand is the way in which the company has used the art works of Ed hardy.
ed hardy womens
ed hardy t shirts
ed hardy sunglasses

At 10/01/2010 12:15:00 AM, Blogger Jeff said...

Leather Jackets

Leather Coats

Leather Biker Jacket

Leather Bombers Jackets

Leather Skirt

Leather Blazer

At 7/07/2011 10:23:00 PM, Anonymous Organic vitamins said...

I agree that handwriting can say a great deal about a person. I think that men whose handwriting in incomprehensible care only about themselves and do not value others' opinions.


Post a Comment

<< Home