Centos – Need Help Setting up TinyDNS

centosdomain-name-systemtinydns

I recently successfully installed TinyDNS on my CentOS server. I have followed these examples and guides here, here, and here.

The issue is that I am unable to nslookup/ping any domains I setup in the data file for TinyDNS. I have 2 name servers registered through my domain registrar to ns1.minecraft-cheats.com and ns2.minecraft-cheats.com with 2 IP addresses pointing to the same server (the server with the TinyDNS on it). Here is the layout of my /var/dnscache/tinydns/root/data file:

Zminecraft-cheats.com:ns1.minecraft-cheats.com:2011070501:4800:1800:604800
&minecraft-cheats.com:184.168.110.107:ns1.minecraft-cheats.com:3600
&minecraft-cheats.com:184.168.123.220:ns2.minecraft-cheats.com:3600
=minecraft-cheats.com:178.63.65.196
=www.minecraft-cheats.com:178.63.65.196

When I use dig on the domain here is the results:

[root@ip-184-168-110-107 root]# dig minecraft-cheats.com

; <<>> DiG 9.3.6-P1-RedHat-9.3.6-4.P1.el5_5.3 <<>> minecraft-cheats.com
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 62345
;; flags: qr aa rd; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2

;; QUESTION SECTION:
;minecraft-cheats.com.          IN      A

;; ANSWER SECTION:
minecraft-cheats.com.   86400   IN      A       178.63.65.196

;; AUTHORITY SECTION:
minecraft-cheats.com.   3600    IN      NS      ns1.minecraft-cheats.com.
minecraft-cheats.com.   3600    IN      NS      ns2.minecraft-cheats.com.

;; ADDITIONAL SECTION:
ns1.minecraft-cheats.com. 3600  IN      A       184.168.110.107
ns2.minecraft-cheats.com. 3600  IN      A       184.168.123.220

;; Query time: 0 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Tue Jul  5 10:52:26 2011
;; MSG SIZE  rcvd: 122

I am aware it isn't very safe to post the real IP and domain name but I really don't care right now.

When I edit the data file I am running 'make' and then restarting the TinyDNS service.

Can someone tell me what I am doing wrong? Yes, I have waited hours for propagation to occur so I do not think that is the issue at the moment.

Found a good website that diagnoses DNS issues: http://www.intodns.com/minecraft-cheats.com

Best Answer

The instructions by the pseudonymous cyberx86 that you have followed are wrong. As written, you'll end up with two different severs, one dnscache and tinydns, providing two different services but both listening on the same IP address and port. This explains the currently observable behaviour, that all of your servers appear to be dnscache not tinydns. Xe has made a further error of having /etc/resolv.conf pointing to the wrong type of DNS server, as well.

Follow the instructions from the author of the program, instead.

Related Topic