Results 1 to 6 of 6
  1. #1

    DNS (Non authoritive Issue) - Websites load very slowly

    We have an issue with websites load very slowly in a new server (centos) and we recieve an email from the server stating the following:

    IMPORTANT: Do not ignore this email.
    The hostname (ns.domain.com) resolves to . It should resolve to
    xx.xxx.xxx.90. Please be sure to correct /etc/hosts as well as the 'A'
    entry in zone file for the domain.

    Some are all of these problems can be caused by
    /etc/resolv.conf being setup incorrectly. Please check this file if
    you believe everything else is correct.


    You may be able to automaticly correct this problem by using the ' Add an A entry for your hostname ' under ' Dns Functions ' in your Web Host Manager



    and when we restart "DNS Server (BIND)" or "named" we get as part of the output the following:

    view localhost_resolver: received notify for zone 'domain.com': not authoritative

    Please find below the contents of /etc/hosts , /etc/resolv.conf and /etc/sysconfig/network:

    /etc/hosts:

    ::1 localhost6.localdomain6 localhost6
    # Do not remove the following line, or various programs
    # that require network functionality will fail.
    XX.xxx.xxx.90 ns.domain.com ns
    127.0.0.1 localhost


    /etc/resolv.conf :

    #domain domain.com
    #search domain.com
    #nameserver 127.0.0.1
    nameserver xx.xxx.xxx.92
    nameserver xx.xxx.xxx.93


    /etc/sysconfig/network:

    NETWORKING=yes
    NETWORKING_IPV6=yes
    GATEWAY=xx.xxx.xxx.xx
    HOSTNAME=ns.domain.com
    DOMAINNAME=domain.com


    So what could be wrong with the above settings?

  2. #2
    Join Date
    Jan 2006
    Location
    Somewhere in USA
    Posts
    110
    Firstly check your resolv.conf file, hope the ip's in there for nameservers are not the ip's for your nameservers you setup on the server.

    Second what how are your nameservers setup, ns.domain.com and ns1.domain.com or different then this, be sure that the hostname of the server is not also one of the nameservers name.

    As for the email you got from Cpanel, you just have to add an A record for the hostname to the domain.com dns zone file.
    https://www.vpnin.net - Reliable and secure vpn services

  3. #3
    Quote Originally Posted by k3oni View Post
    Firstly check your resolv.conf file, hope the ip's in there for nameservers are not the ip's for your nameservers you setup on the server.

    Second what how are your nameservers setup, ns.domain.com and ns1.domain.com or different then this, be sure that the hostname of the server is not also one of the nameservers name.

    As for the email you got from Cpanel, you just have to add an A record for the hostname to the domain.com dns zone file.
    1- The ip's are the ones that I setup for the server.

    2- The hostname is: ns.domain.com
    Namesaervers: ns01.domain.com
    ns02.domain.com

    3- There is already an A record available there.

  4. #4
    Join Date
    Jan 2006
    Location
    Somewhere in USA
    Posts
    110
    Edit your resolv.conf file and add only this:

    search domain.com
    nameserver 4.2.2.1
    nameserver 4.2.2.2

    Check after this how it is the connection.
    You should use some authoritative nameservers in resolv.conf, even the ones your host has(the datacenter where you host the server, maybe ask them for their nameservers) or some big ISP's nameservers.
    https://www.vpnin.net - Reliable and secure vpn services

  5. #5
    Quote Originally Posted by k3oni View Post
    Edit your resolv.conf file and add only this:

    search domain.com
    nameserver 4.2.2.1
    nameserver 4.2.2.2

    Check after this how it is the connection.
    You should use some authoritative nameservers in resolv.conf, even the ones your host has(the datacenter where you host the server, maybe ask them for their nameservers) or some big ISP's nameservers.
    I have done so but the issue is still the same.

  6. #6
    Join Date
    Jan 2006
    Location
    Somewhere in USA
    Posts
    110
    Can you post the domain name or send it using PM, it will be much more easy to help you if we know the domain name.
    https://www.vpnin.net - Reliable and secure vpn services

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •