Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 6 of 6
  1. #1
    f3d
    f3d is offline
    Registered User
    Join Date
    Apr 2005
    Posts
    3

    Angry dns problems using bind and freebsd 5.3 (fixed)

    Hi everyone,

    I'm new to cpanel and this is my first install. The install was pretty easy, even though i had to figure some stuff like how to fix named's config file and rndc which arend located in the right directory. Other than that everything seemed to go well.

    Now that everything is setup, I've added a couple domains to test the server. I'm getting strange results from the dns replies on my pc.

    If I connect to the server using nslookup, all the requests are done correctly. But if I try to ping an address like www.chakaltech.com, or mail.chakaltech.com, it might not always work. Yesterday mail.chakaltech.com would resolve, but today it won't and www.chakaltech.com now does. This is pretty weird... and im out of idea on how to fix it. It does that for all my domains ,some query wont resolve, and the day after the results are different.

    I was wondering, do I need to register my dns servers somewhere? I've created ns1.f3dweb.com and ns2.f3dweb.com on my domain provider, and they are set to my server's ip. All my domains have their dns server set to these 2.

    Any help would be appreciated, thx!

    (some sentences might make no sense, english aint my main language )
    Last edited by f3d; 04-26-2005 at 01:56 PM.

  2. #2
    Member sawbuck's Avatar
    Join Date
    Jan 2004
    Posts
    1,313
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    http://dnsreport.com/tools/dnsreport...chakaltech.com
    Check your zone files for proper name server setup. Likely that your name server entries are pointing to an IP instead of a host name.

  3. #3
    f3d
    f3d is offline
    Registered User
    Join Date
    Apr 2005
    Posts
    3

    Default

    hmm that seemed to do the trick, its weird that cpanel has set the ip instead of the domain... oh well, ill modify the sample file and it should fix it

    thx a lot for the quick answer


    oh and one quick question, where could i change the value of %nameserver% and %nameserver2% so i dont have to change the template file?
    Last edited by f3d; 04-26-2005 at 01:59 PM.

  4. #4
    Member sawbuck's Avatar
    Join Date
    Jan 2004
    Posts
    1,313
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Not sure I follow your %nameserver% question. Zone templates are located at /var/cpanel/zonetemplates/

  5. #5
    f3d
    f3d is offline
    Registered User
    Join Date
    Apr 2005
    Posts
    3

    Default

    i want to know where cpanel gets its template variables from, so i dont have to change the template file and input my nameservers directly instead of using a variable

  6. #6
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    The nameservers are taken from WHM > Edit Setup > Primary Nameserver, Secondary NameServer, etc. They're stored in /etc/wwwacct.conf
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

Similar Threads & Tags
Similar threads

  1. DNS / BIND intermittent problems
    By webhead2 in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 08-30-2009, 07:40 PM
  2. Problems With Bind/dns Again
    By duranduran in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 09-24-2006, 05:40 PM
  3. Freebsd 5.4 & Bind Problems
    By gloverkarl in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 07-04-2005, 05:55 AM
  4. BIND - DNS Problems - need help
    By eglwolf in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 06-21-2005, 12:32 PM
  5. Problems with BIND and DNS zones
    By allwin in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 10-04-2002, 12:22 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube