Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Sep 2008
    Posts
    1

    Default DNS Lookups

    Hello,

    I just installed Cpanel on a new server. I've done it a few times and had no issues, but this time the DNS isn't working correctly.

    Basically the server can't see the zones it is hosting. I've setup a zone record for my domain, created both ns1 and ns2 A records, and also created the hostname A record. And verified the /etc/hosts is correct.

    My resolv.conf has my provider's IP's as the nameservers, and I can lookup any other domain just fine from my server. But when I try to then lookup a domain hosted on my server, it says it can't find the record.

    If I change the nameserver IP's in the resolv.conf to my server's IP addresses, then I can lookup my domain and hostname just fine. It was my understanding that when doing a lookup, the server would check if it's hosting the domain locally, and if so use those records? If not, it would forward the request on to the IP's in my resolv.conf...

    Thanks for any help!

  2. #2
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Jul 2005
    Location
    New Jersey, USA
    Posts
    397

    Default

    It sounds like your dns is down or misconfigured. You will have to make sure dns is up and properly configured, then it should work fine. You can also check the logs for any dns errors.

Similar Threads & Tags
Similar threads

  1. dns server recursive lookups bad?
    By Jeff-C in forum cPanel and WHM Discussions
    Replies: 28
    Last Post: 05-01-2006, 02:47 AM
  2. Exim and Lookups
    By anup123 in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 02-15-2005, 01:26 PM
  3. DNS recursive lookups?
    By jamesbond in forum cPanel and WHM Discussions
    Replies: 17
    Last Post: 03-12-2004, 03:24 PM
  4. disable dns lookups in webalizer
    By amusive in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 09-04-2003, 04:46 PM
  5. Webalizer & DNS Lookups
    By JustinK in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 01-26-2003, 11:47 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube