DNS Agony!
I've tried many times over to configure a DNS server. This doesn't seem to be working out well. I always get this error.
Code:
[root@mun-175-25 ~]# service named start The "db.example.com" exists in the /var/named directory but it cannot be found. This is the configuration: Code:
[root@mun-175-25 ~]# vi /var/named/db.example.com |
the version of bind you are using is likely chroot'ed.
rather than editing /etc/named.conf & /var/named/db.example.com you should start as if /var/named/chroot/ = / so you would be editing /var/named/chroot/etc/named.conf & /var/named/chroot/var/named/db.example.com hope this helps |
Hi,
did you check the /var/named/db.example.com permissions? |
The version of BIND that i am using is chroot'ed so that has been corrected. The named service starts , finally!
As for the permissions... I forget how to check that at the moment. chmod, then what? Now i have another problem. i have a laptop that's set under the (supposed) DNS server. When i try to ping or do a "whois" command it just hangs. I don't have the slightest clue as to what it might be doing. I know this is very little information but i don't know what type of information might be needed to begin the troubleshooting. |
Hi,
as for permissions, 'ls -l' will give you every info... what do you mean by "hang": you have no output and it stops, you've got to ^C the command or it freezes your laptop? |
By hanging I mean there's no output. I think that i didnt set up my routing commands correctly. The laptop can resolve the IP address for a website (like www.google.com). But I think there's a problem on the receiving side.
*****EDIT If it means anything the client laptop reports being on the local domain (localhost.localdomain). *****EDIT #1 Nevermind the post guys. There was a forwading issue that I didn't take care of in the firewall. It works just fine now. Thanks for the help |
All times are GMT -5. The time now is 06:20 AM. |