Click to See Complete Forum and Search --> : DNS HELP and my ZONE FILES


mdauth
11-22-2003, 01:14 PM
Hello

I am busy setting up my dns. I have a master primary and a Slave secondary setup.

This is my secondary setup and BIND on that server does not want to creat a zone file for my slave . Ipls help me with this I must get it up by monday

## named.conf - configuration for bind
#
# Generated automatically by redhat-config-bind, alchemist et al.
# Any changes not supported by redhat-config-bind should be put
# in /etc/named.custom
#
controls {
inet 127.0.0.1 allow { localhost; } keys { rndckey; };
};

include "/etc/named.custom";

include "/etc/rndc.key";

zone "iconnection.co.za" {
type slave;
file "iconnection.co.za.zone";
masters {
196.25.20.34;
};
};






zone "0.0.127.in-addr.arpa" {
type master;
file "0.0.127.in-addr.arpa.zone";
};


zone "localhost" {
type master;
file "localhost.zone";
};

Satanic Atheist
11-22-2003, 01:29 PM
What's the output of /var/log/messages? That often gives a few hints as to why it's not working...

James

mdauth
11-22-2003, 01:50 PM
Glad to see your still hear.

Well this is from my primary dns and the other was from a slave server that i want to use for secondary in redhat9.

know i am not sure how to but i must change my slave server and primarys named and zone file. because the internet dudes said they can see my primary but not my secondary server and i can not get my primary server to update my secd.. srver because it does not creat a zone files as a slave HELPPPPPPP


# named.conf - configuration for bind
#
# Generated automatically by redhat-config-bind, alchemist et al.
# Any changes not supported by redhat-config-bind should be put
# in /etc/named.custom
#
controls {
inet 127.0.0.1 allow { localhost; } keys { rndckey; };
};

include "/etc/named.custom";

include "/etc/rndc.key";







zone "0.0.127.in-addr.arpa" {
type master;
file "0.0.127.in-addr.arpa.zone";
};
zone "20.25.196.in-addr.arpa" {
type master;
file "20.25.196.in-addr.arpa.zone";
};


zone "localhost" {
type master;
file "localhost.zone";
};
zone "iconnection.co.za" {
type master;
file "iconnection.co.za.zone";
allow-transfer { 196.25.20.35; };
also-notify { 196.25.20.34; };
};

Satanic Atheist
11-22-2003, 02:04 PM
Of course I'm still here. As always - causing trouble. At least for the next 27 days...

I've attempted the same thing in the past with little success, but now I'm reinstalling the server, I can take a closer look at it.

Unless anyone else gets back to you, I'll give it a shot and see what I can manage.

James

mdauth
11-22-2003, 02:19 PM
Thanx alot

I hope we can solve this its just a normal setup with one pop server i have already got the pop server going and also the web server running but now its only this

mdauth
11-22-2003, 02:29 PM
James i have copied my zone files from my primary on to my secondary.

And modified the named.conf on both sides but it does not update from my primary if i made a change to see if it works.

and if u restart named it says

Stopping named: rndc: connect failed: connection refused


do u know this