LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 10-30-2013, 01:25 AM   #1
eiger3970
LQ Newbie
 
Registered: Jun 2013
Posts: 7

Rep: Reputation: Disabled
WARNING: One or more of your nameservers did not return any of your NS records.


Hi,
I need some help making a website live.
I tested www.intodns.com and it says my site has a number of errors:

www.intodns.com gives errors:
Error Mismatched NS records WARNING: One or more of your nameservers did not return any of your NS records.
Error DNS servers responded ERROR: One or more of your nameservers did not respond:
The ones that did not respond are:
WAN IP.

Error Multiple Nameservers ERROR: Looks like you have less than 2 nameservers. According to RFC2182 section 5 you must have at least 3 nameservers, and no more than 7. Having 2 nameservers is also ok by me.

Error Missing nameservers reported by your nameservers You should already know that your NS records at your nameservers are missing, so here it is again:

ns2.domain.com.
ns1.domain.com.

SOA Error SOA record No valid SOA record came back!
MX Error MX Records Oh well, I did not detect any MX records so you probably don't have any and if you know you should have then they may be missing at your nameservers!
WWW Error WWW A Record ERROR: I could not get any A records for www.domain.com!

(I only do a cache request, if you recently added a WWW A record, it might not show up here.)

Any suggestions please?
 
Old 10-30-2013, 03:37 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Hi and welcome to LQ,

Without the zone file it's difficult to find what's wrong.
So please post your zone file, masking sensitive data (domain name and real IPs) if you want.

Regards
 
Old 10-30-2013, 04:50 AM   #3
eiger3970
LQ Newbie
 
Registered: Jun 2013
Posts: 7

Original Poster
Rep: Reputation: Disabled
Thank you for the reply.
I think this is the zone file which I found in etc/named.conf/, however it doesn't look like the right details compared to an example I found online https://www.virtualmin.com/node/15567:
Code:
$ttl 38400
yourdomain.com.    IN    SOA    ns1.yourdomain.com. webmaster.yourdomain.com. (
            1055026205
            6H
            1H
            5D
            20M )
yourdomain.com.        IN    A     1.2.3.4
mysql.yourdomain.com.  IN    A     1.2.3.4
www.yourdomain.com.    IN    CNAME yourdomain.com.
ns1.yourdomain.com.    IN    A     1.2.3.4
ns2.yourdomain.com.    IN    A     1.2.3.5
yourdomain.com.        IN    NS    ns1.yourdomain.com.
yourdomain.com.        IN    NS    ns2.yourdomain.com.
mail.yourdomain.com.   IN    MX    1 yourdomain.com.


My details:
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";
        dump-file       "/var/named/data/cache_dump.db";
        statistics-file "/var/named/data/named_stats.txt";
        memstatistics-file "/var/named/data/named_mem_stats.txt";
        recursion yes;

        dnssec-enable yes;
        dnssec-validation yes;
        dnssec-lookaside auto;

        /* Path to ISC DLV key */
        bindkeys-file "/etc/named.iscdlv.key";

        managed-keys-directory "/var/named/dynamic";
};

logging {
        channel default_debug {
                file "data/named.run";
                severity dynamic;
        };
};

zone "." IN {
        type hint;
        file "named.ca";
};

include "/etc/named.rfc1912.zones";
include "/etc/named.root.key";

zone "domain.com" {
        type master;
        file "/var/named/domain.com.hosts";
        allow-transfer {
                127.0.0.1;
                localnets;
                };
        };

Last edited by eiger3970; 10-30-2013 at 05:40 PM.
 
Old 10-30-2013, 06:27 AM   #4
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
I guess this is not the zone file in question, as this one has no errors.
Since you're running RHEL (or clone) the zone file should be located under /var/named (or under /var/named/chroot/var/named if you're running bind chrooted).
 
Old 10-30-2013, 05:34 PM   #5
eiger3970
LQ Newbie
 
Registered: Jun 2013
Posts: 7

Original Poster
Rep: Reputation: Disabled
Thank you, yes, I found it in /var/named.

Here are the Zone file results:
Code:
$ttl 38400
@       IN      SOA     localhost.localdomain. root.localhost.localdomain. (
                        1383110743
                        10800
                        3600
                        604800
                        38400 )
@       IN      NS      localhost.localdomain.
domain.com.        IN      A       WAN IP
www.domain.com.    IN      A       WAN IP
ftp.domain.com.    IN      A       WAN IP
m.domain.com.      IN      A       WAN IP
localhost.domain.com.      IN      A       127.0.0.1
webmail.domain.com.        IN      A       WAN IP
admin.domain.com.  IN      A       WAN IP
mail.domain.com.   IN      A       WAN IP
domain.com.        IN      MX      5 mail.domain.com.
domain.com.        IN      TXT     "v=spf1 a mx a:domain.com ip4:192.168.1.163 ip4:WAN IP ?all"

Last edited by eiger3970; 10-30-2013 at 05:40 PM.
 
Old 10-30-2013, 05:42 PM   #6
eiger3970
LQ Newbie
 
Registered: Jun 2013
Posts: 7

Original Poster
Rep: Reputation: Disabled
Also, I think the issue is port 53 not receiving and/or letting packets through.
I need to figure out how to open port 53, as I have port forwarded port 53 on my router.

I will address this issue first as apparently this is the 1st priority before I check the Zone file.
 
Old 10-31-2013, 03:24 AM   #7
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Quote:
Originally Posted by eiger3970 View Post
Also, I think the issue is port 53 not receiving and/or letting packets through.
I need to figure out how to open port 53, as I have port forwarded port 53 on my router.

I will address this issue first as apparently this is the 1st priority before I check the Zone file.
Do that and also change the NS record to read
Code:
@       IN      NS      domain.com.
or else your domain will not be resolvable
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Missing nameservers reported by your nameservers sushantchawla2005 Linux - Server 6 02-02-2011 07:50 AM
[SOLVED] MX Records / A Records / CNAME Records - Advice Please fusion1275 Linux - Newbie 15 01-18-2011 04:06 AM
warning: ignoring return value of ‘ssize_t write(... Error knobby67 Programming 7 11-01-2010 04:15 PM
[SOLVED] Nagios compiling warning: ignoring return value angel115 Linux - Software 2 09-29-2010 10:17 AM
Reading caller detail records(CDR ) records eliufoo Linux - Networking 2 12-16-2008 11:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 07:10 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration