I have a sagonet box with nodeworkx suite on it. I want to run the box as a dns server but I did a mistake (I think) before I knew nondworkx had it’s own dns server I executed the command “yum install bind” and I also executed yum install for bind’s needed util’s. to run. I went ahead and registered my nameservers and sent in a ticket to reverse dns the ip’s of the nameservers to my nameserver entrys. Under server setup in nodeworkx I went ahead and gave my nameservers instead of sago’s. I went ahead and added a domain I had pointed to the nameservers and the dns entrys wont resolve, so im pretty sure by me installing bind it messed up something for noneworkx not run the dns server. If someone could please help me get back on track much would be apreciated.
I’d disable bind from starting up (i.e. chkconfig --level 345 named off) and turn off the caching-nameserver too if it exists in /etc/init.d/. Then just do a:
service djbdns restart
That should get tinydns going again.
You’ll know if a DNS server is listening locally if you do the following and see similar output (substitute an IP on your box for the one I use):
[root@firebll fireroot]# nslookup
Note: nslookup is deprecated and may be removed from future releases.
Consider using the `dig' or `host' programs instead. Run nslookup with
the `-sil[ent]' option to prevent this message from appearing.
> server localhost
Default server: localhost
Address: 127.0.0.1#53
> server 66.118.152.98
Default server: 66.118.152.98
Address: 66.118.152.98#53
>
Make sure you do the nslookup on an external IP. The dig shows output for 127.0.0.1 but tinydns is very specific about what ports/IPs it listens on. Once you’re convinced that tinydns is running (a ps should show this) try to lookup a local domain via nslookup, but do so by using the “server you.local.ip” command. You can obviously use dig as well for this if you like.
Okay, tinydns is running, now, I got another problem… every 12 hours interworkx gives in me an invalid license error, how can I prevent this? Also! how do I get DNS to show up in the system service for the interworkx control panel? Thanks for your help so much chris!
every 12 hours interworkx gives in me an invalid license error, how can I prevent this?
I’ve seen this a few times. Can you send me the output of the following command:
grep license /home/interworx/var/log/iworx.log
Also! how do I get DNS to show up in the system service for the interworkx control panel?
You can’t at the moment, but if you want to turn off iterative queries you can do it via the comand line by either doing service djbdns stop (this however also turns off recursive lookup as well) so better would be to do:
svc -d /service/tinydns-XXXXX
Where XXXXX is the IP of the DNS server you want to turn off.
It doesn’t look like any of the administrative cron jobs are running and I’d like access to your server if it’s ok with you to investigate further via ssh.