HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=27)
-   -   DNS Not working (http://www.howtoforge.com/forums/showthread.php?t=52280)

jribeiro 13th April 2011 22:22

DNS Not working
 
1 Attachment(s)
Hi there!!

Really sorry to trouble everyone with another dns related issue but I've read numerous threads with no luck...

I have ISPConfig 3 + Centos 5.5.

The domain I'm trying to configure is sostudent.com. Created ns1.sostudent.com and ns2.sostudent.com and assigned to the right ip: 85.139.252.201

The ispconfig is shown in attachement.

However I can't access the domain and the tool intodns says "I could not get any nameservers from your nameservers (the ones listed at the parent server). Please verify that they are not lame nameservers and are configured properly. "

http://www.intodns.com/sostudent.com

I bought the manual but still can't get through this... I'm newbie!

Thanks everyone

till 14th April 2011 09:33

Please run this command on the shell and post the output:

dig @localhost sostudent.com

jribeiro 14th April 2011 09:44

Quote:

Originally Posted by till (Post 255245)
Please run this command on the shell and post the output:

dig @localhost sostudent.com

Thanks for the reply!!

Result:
; <<>> DiG 9.3.6-P1-RedHat-9.3.6-4.P1.el5_5.3 <<>> @localhost sostudent.com
; (1 server found)
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 51119
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;sostudent.com. IN A

;; Query time: 2214 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Thu Apr 14 08:42:01 2011
;; MSG SIZE rcvd: 31

till 14th April 2011 11:39

restart bind and then check the syslog and messages log file for errors.

jribeiro 14th April 2011 13:14

1 Attachment(s)
Thanks again!! No errors I think. Please check the image bellow

jribeiro 14th April 2011 16:01

Hi there!!

Some more info...

telnet localhost 53
Responds OK

telnet localip 53
Unable to connect

telnet publicip 53
Unable to connect

This is happens both with ispconfig firewall active and inactive...

What's is going wrong here?? Can anyone help?

falko 14th April 2011 16:33

Can you post your /var/named/chroot/etc/named.conf?

jribeiro 14th April 2011 16:39

Yup!

Code:

//
// named.conf
//
// Provided by Red Hat bind package to configure the ISC BIND named(8) DNS
// server as a caching only nameserver (as a localhost DNS resolver only).
//
// See /usr/share/doc/bind*/sample/ for example named configuration files.
//
options {
        listen-on port 53 { 127.0.0.1; };
        listen-on-v6 port 53 { ::1; };
        directory      "/var/named/chroot/var/named";
        dump-file      "/var/named/chroot/var/named/data/cache_dump.db";
        statistics-file "/var/named/chroot/var/named/data/named_stats.txt";
        memstatistics-file "/var/named/chroot/var/named/data/named_mem_stats.txt";
        allow-query    { localhost; };
        recursion yes;
};
logging {
        channel default_debug {
                file "data/named.run";
                severity dynamic;
        };
};
zone "." IN {
        type hint;
        file "named.root";
};
include "/var/named/chroot/etc/named.conf.local";

Followed this tutorial:
http://www.howtoforge.com/perfect-se...ispconfig-3-p5

and addapted it to 32bit version.

Anyway just some extra info... the telnet problem happens with other services like pop.

However the router is propelly configrued. I'm almost 100% positive of that!!

Also I have two nics but the router is only configured for one of them.

Don't know if this extra info helps but anyway...

Thanks!!

dromney 14th April 2011 23:02

Similar Issue, except Ubuntu 10.10
 
I am having a similar issue running Ubuntu 10.10, I have the most up to date ISP Config, and I have kept my Ubuntu up to date. Using BIND, and getting the same response from intodns.com. So I would much appreciate any help on this. Same this with the manual to, not very helpful.

falko 15th April 2011 13:52

Quote:

Originally Posted by jribeiro (Post 255282)
Yup!

Code:

//
// named.conf
//
// Provided by Red Hat bind package to configure the ISC BIND named(8) DNS
// server as a caching only nameserver (as a localhost DNS resolver only).
//
// See /usr/share/doc/bind*/sample/ for example named configuration files.
//
options {
        listen-on port 53 { 127.0.0.1; };
        listen-on-v6 port 53 { ::1; };
        directory      "/var/named/chroot/var/named";
        dump-file      "/var/named/chroot/var/named/data/cache_dump.db";
        statistics-file "/var/named/chroot/var/named/data/named_stats.txt";
        memstatistics-file "/var/named/chroot/var/named/data/named_mem_stats.txt";
        allow-query    { localhost; };
        recursion yes;
};
logging {
        channel default_debug {
                file "data/named.run";
                severity dynamic;
        };
};
zone "." IN {
        type hint;
        file "named.root";
};
include "/var/named/chroot/etc/named.conf.local";

Followed this tutorial:
http://www.howtoforge.com/perfect-se...ispconfig-3-p5

and addapted it to 32bit version.

Anyway just some extra info... the telnet problem happens with other services like pop.

However the router is propelly configrued. I'm almost 100% positive of that!!

Also I have two nics but the router is only configured for one of them.

Don't know if this extra info helps but anyway...

Thanks!!

Replace the file with this one:

Code:

//
// named.conf
//
// Provided by Red Hat bind package to configure the ISC BIND named(8) DNS
// server as a caching only nameserver (as a localhost DNS resolver only).
//
// See /usr/share/doc/bind*/sample/ for example named configuration files.
//
options {
        listen-on port 53 { any; };
        listen-on-v6 port 53 { any; };
        directory      "/var/named/chroot/var/named";
        dump-file      "/var/named/chroot/var/named/data/cache_dump.db";
        statistics-file "/var/named/chroot/var/named/data/named_stats.txt";
        memstatistics-file "/var/named/chroot/var/named/data/named_mem_stats.txt";
        allow-query    { any; };
        recursion yes;
};
logging {
        channel default_debug {
                file "data/named.run";
                severity dynamic;
        };
};
zone "." IN {
        type hint;
        file "named.root";
};
include "/var/named/chroot/var/named/named.local";

Then restart named.


All times are GMT +2. The time now is 20:34.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.