named problems

Discuss Networking

Postby X11 » Thu Feb 20, 2003 5:39 am

VoidMain, i think i might just uninstall named, reinstall and use webmin.
X11
guru
guru
 
Posts: 674
Joined: Sun Jan 19, 2003 11:09 pm
Location: Australia

Postby X11 » Thu Feb 20, 2003 5:52 am

Code: Select all
[root@tazor root]# service named restart
Stopping named: rndc: no key definition for name key
                                                           [FAILED]
Starting named:                                            [FAILED]
[root@tazor root]# vi /etc/rndc.conf
[root@tazor root]# service named restart
Stopping named: rndc: connect failed: connection refused
                                                           [FAILED]
Starting named:                                            [FAILED]
[root@tazor root]# service named restart
Stopping named: rndc: connect failed: connection refused
                                                           [FAILED]
Starting named:                                            [FAILED]
[root@tazor root]# service named restart
Stopping named: rndc: connect failed: connection refused
                                                           [FAILED]
Starting named:
                                                           [  OK  ]


There is a nice example of what is going on.
X11
guru
guru
 
Posts: 674
Joined: Sun Jan 19, 2003 11:09 pm
Location: Australia

Postby X11 » Thu Feb 20, 2003 6:05 am

well its not working either way, reinstall time
X11
guru
guru
 
Posts: 674
Joined: Sun Jan 19, 2003 11:09 pm
Location: Australia

Postby Void Main » Thu Feb 20, 2003 6:18 am

If you used the files in my example directly they would work. You obviously have a problem with your rndc keys. If they keys don't match it ain't going to work. Here is another example of the rndc keys that may or may not help:

http://www.soapi.com/howto/bind.htm
User avatar
Void Main
Site Admin
Site Admin
 
Posts: 5705
Joined: Wed Jan 08, 2003 5:24 am
Location: Tuxville, USA

Postby X11 » Thu Feb 20, 2003 7:13 am

But they do match, im reintalling.
X11
guru
guru
 
Posts: 674
Joined: Sun Jan 19, 2003 11:09 pm
Location: Australia

Postby X11 » Thu Feb 20, 2003 7:39 am

Well im going to bed, I seen a much simpler dns server package for linux on tucows a while ago. Unless somebody has some good ideas.
X11
guru
guru
 
Posts: 674
Joined: Sun Jan 19, 2003 11:09 pm
Location: Australia

Postby Void Main » Thu Feb 20, 2003 7:46 am

X11 wrote:But they do match, im reintalling.


Ok, I found a problem with my tar file. The ownership is not correct. After you install the tar file do this:

# chown root:root /etc/named.conf
# chown root:named /etc/rndc*
# chown named:named /var/named/*

This should solve your problem. I changed something in the tar file on a different machine that didn't have the named userID which I am sure screwed it up. I will fix it now. Sorry about that!
User avatar
Void Main
Site Admin
Site Admin
 
Posts: 5705
Joined: Wed Jan 08, 2003 5:24 am
Location: Tuxville, USA

Postby Void Main » Thu Feb 20, 2003 8:03 am

Ok, I fixed the "dhcp-dyndns.tar.gz" file so the permissions are right. Now if you follow the directions it should work as advertised. I can't believe I did that. I usually check that sort of stuff 3 times over. I had found a minor error in one of the files some time after creating the tutorial. I unpacked the file on the web server, fixed the file and repacked it. I meant to do this as root but I apparently did it as user "voidmain". Now that I think about it, either way it would have been screwed up by doing it on the web server rather than the original machine that I did the tutorial on. At any rate, the file is fixed and I thank you for pointing out the problem. I hope not too many others have run into this problem. I've only gotten positive feedback back on this dns tutorial so far.
User avatar
Void Main
Site Admin
Site Admin
 
Posts: 5705
Joined: Wed Jan 08, 2003 5:24 am
Location: Tuxville, USA

Previous

Return to Networking

Who is online

Users browsing this forum: No registered users and 1 guest

cron