Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
Hi to all,
Can anyone please help in setting up my dns. I have to create a dns server on my server which has a fresh installation of linux 9.1. But the problem this DNS server dont have any database to resolve host address, So what i have to do is call one of my ISP's DNS from my dns server and resolve the address. I dont know how to do this...How to call external dns server from my dns server. I tried creating slave zone and adding ISP's DNS ip's in master but it didn't worked...I hope i m clear...Please help me...

You put the ISP dns servers into the file called /etc/named.custom
Here is what my files look like......._____________________________________________
## 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.168.192.in-addr.arpa" {
type master;
file "0.168.192.in-addr.arpa.zone";
allow-update {
192.168.0.1;
};
};
zone "mydomain.com" {
type master;
file "mydomain.com.zone";
allow-update {
192.168.0.1;
};
};
_____________________________________________
## named.custom - custom configuration for bind
#
# Any changes not currently supported by redhat-config-bind should be put
# in this file.
##Put your ISP dns servers here
options {
directory "/var/named/";
forwarders {
200.200.150.1;
200.200.150.2;
200.200.150.3;
};
};

Hi
Thanks for the help.
I tried what u have said but when i restart the named service or machine i m getting "rndc:connect failed;Connection refused" error.
Somemore in my file i didn't find any "forwarders " word so i just typed it and added ISP's IP addresses.Is it correct??..One more thing in my file i didn't have any zone althoug i have created one. There is zone in /etc/named.conf file but no in named.custom file. Do i need to create any slave zone????.....
After adding the forwarders to the file i restarted and got the error "rndc:connect failed;Connection refused" ...What should i do now???..Please help....

Im having the same problem as you at the moment, but i dont think that forwarding DNS requests is quite the solution (im gona have to do that later though) anyway, what i (think) you oughta remember here is that named needs to connect through the loopback to the server that your starting (am i right?) and that its your/my box thats refusing the connection ...
ive checked my iptables and i dont have any restrictions on connections made from the localhost to itself .. although iptables -L does list the IP that i entered into /etc/sysconfig/iptables as 127.0.0.1 as "playersxtreme.com" .. which is the name of my server but i wonder if the host resolution its already done locally is interfeering with the reality that it doesnt need to do any host resolution .. im going to try to take that 127.0.0.1 resolution to "playersxtreme.com" out and see what happens.. in the mean time .. i would r-e-a-lly appreaciate some assistance from someone.. thanks
pax
andrew
newbie admins do exist, hopefully not for long

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |