November 25, 2024, 01:43:21 PM

News : LinuxSolved.com Linux Help Community Forum..


Author Topic: DNS in rhel5  (Read 6155 times)

Offline Vivekdubey

  • Linux Noob !
  • *
  • Posts: 4
DNS in rhel5
« on: December 11, 2008, 04:05:55 PM »
I have a problem in rhel5 dns configuration:
I have done dns configuration succesfully .
I have problem in only the updation of slave dns that i configure slave and in master dns i entered the allow update(ip;);
but the slave not updating
Please any one give me the reason that why the salve cannot updating
I configure both the both master and slave dns correctly and i have checked it by named-checkconf and named-checkzone
 

Offline unixmen

  • Linux Noob !
  • *
  • Posts: 24
Re: DNS in rhel5
« Reply #1 on: January 06, 2009, 11:48:52 AM »
check  your named.config  file :

> Master:
>
> options {
>
>         directory "/var/named";
>
>         pid-file "/etc/named.pid";
>
>         allow-query { any; };
>
>         allow-transfer {xx.xx.xx.xx ; }; //Slave DNS IP
>
>         notify yes;
>         also-notify {xx.xx.xx.xx; } //Slave DNS IP

You shouldn't need this if the slave is already listed in the NS
records.  This is only supposed to be fore additional slaves that aren't
listed.

>
> zone "example.com" {
>
>                 type master;
>
>                 file "master/internal/example.com";
>
>
>
> Slave:
>
> options {
>
>         directory "/var/named";
>
>         pid-file "/etc/named.pid";
>
>         allow-query { any; };
>
>
>
> zone "example.com" {
>
>                 type slave;
>
>                 file "slave/internal/example.com";
>
>                 masters { xx.xx.xx.xx; }; // Master DNS IP
>
for   any other  issue  . post it  om  /forum

regards
  team