Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Page 2 of 2 FirstFirst 1 2
Results 16 to 29 of 29
  1. #16
    Member
    Join Date
    Jun 2004
    Posts
    42

    Default

    Hey guys,

    I've been working on this and now my named service won't restart. I even put named.conf back to its original state and now it just won't restart.

    and now dnsreports is just giving me all kinds of errors. It think the fixes will work if I can get it restarted. Any help would be great.

  2. #17
    cPanel Partner NOC cPanel Partner NOC Badge AndyReed's Avatar
    Join Date
    May 2004
    Location
    Minneapolis, MN
    Posts
    2,223

    Default

    Quote Originally Posted by wptechno
    I've been working on this and now my named service won't restart. I even put named.conf back to its original state and now it just won't restart.

    and now dnsreports is just giving me all kinds of errors. It think the fixes will work if I can get it restarted. Any help would be great.
    It is difficult to say, without looking into your server and see what you did to cause all these problems. sawbuck and Jeff-C gave good info on how to get the recursive feature up and running.
    Andy Reed
    RHCE and CCNA
    ServerTune.com

  3. #18
    Member
    Join Date
    Jun 2004
    Posts
    42

    Default

    I used Configuration File Rollback in whm (awesome feature by the way!) and it took some time but everything restarted correctly. Still have the dns issue though, so I'm just going to have someone do it for me. Thanks for your time.

  4. #19
    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

    This has all been covered before

    http://forums.cpanel.net/showthread.php?t=15922
    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

  5. #20
    Member
    Join Date
    Aug 2004
    Posts
    198

    Default

    I'm just curious with the glorification of code...could something quite simple be missing?

    I wonder, why isn't this adequet?

    options {
    directory "/var/named";
    recursion no;
    };

    I'm not sure what the side effects are just yet, haven't seen any problems or had anything "funky" reported. It causes reports to pass...

    This is in a 10 server cluster using 2 servers ns1 on 1 and ns2 on 2...all other servers use these 2 servers for DNS.

    Just curious about long term problems? And what exactly is the reason for having all those IP's on the list of allowed rather then simply dis-allowing recursion?

    Does a server on the Cpanel cluster really need recursion? It was my impression that the DNS record is served from the main server and so long as everything resolves...we're golden.

    I'm just wondering if in all the code in all the threads about this if something blatently simple was passed over, or if I'm going to be facing "montazumas revenge" any moment now...

  6. #21
    Member
    Join Date
    Aug 2004
    Posts
    198

    Default

    Wait, I see now...you turn that on and you can't send mail to places like yahoo, aol, msn...

    So, back to where we started I suppose... Does this mean that in order to send email out to these places, I also need to allow there IP's recursion? I can't see how adding my own IP's to the allowed list will make these remote sites accessable via email.

    Or do these providers need to stop doing recursive lookups on email sent to them...hmm...

    Curious...it seems like a wicked loop that anyone can get lost in...

  7. #22
    Member
    Join Date
    Mar 2004
    Posts
    117

    Default

    Adding your own server IP's to the recursion-allowed list will allow you to send mail to anywhere as before.

  8. #23
    Member
    Join Date
    Aug 2004
    Posts
    198

    Default

    But I was under the impression that these remote mail folks did recursive lookups and if it fails they bounce it?

    The reverse DNS thing with AOL stands out at me right up front...

    I understand putting in the local IP's will resolve:

    unrouteable mail domain "yahoo.com"

    But so now that its routable, what is yahoo or AOL going to think about it when looking backwards (in reverse)...

    Thanks for helping end the confusion

  9. #24
    Member
    Join Date
    Apr 2006
    Posts
    7

    Default How to open name.conf

    Hello,

    Could anyone tell me how I actually get into (or open) named.conf ?
    I know it's located in the etc/ folder.

    I assume you are using SSH/Shell Access in cpanel?
    I've tried to enter "vi named.conf", but there are no info displayed.

    Could anyone shead some light on this.

    Thanks in advance,

    Oddvin

  10. #25
    Member
    Join Date
    Apr 2006
    Posts
    7

    Default named.conf

    I was Finally able to edit named.conf and After I made
    the change dnsreport.com stated PASS on Open DNS servers

    However, my server monitoring stated DNS : This test failed!

    Here's how my named.conf looked like :


    options {
    directory "/var/named";
    allow-recursion { 127.0.0.1; 69.10.154.129; 69.10.154.130; };
    /*
    * If there is a firewall between you and nameservers you want
    * to talk to, you might need to uncomment the query-source
    * directive below. Previous versions of BIND always asked
    * questions using port 53, but BIND 8.1 uses an unprivileged
    * port by default.
    */
    // query-source address * port 53;



    Do anyone have any idea what could be wrong ?

    Oddvin
    DirectNetMarketing.com

  11. #26
    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

    Yes, it would fail. If you want to allow it you would need to add the IP address of your server monitoring service.
    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

  12. #27
    Member
    Join Date
    Apr 2006
    Posts
    7

    Default Thanks

    I finally guessed that was the reason and it's good to have it answered here

    However, (don't know if this matters), but when restarting DNS server (Named)
    it says:

    loading configuration from '/etc/named.conf' Apr 23 11:35:06 server named[25341]: no IPv6 interfaces found Apr 23 11:35:06 server named[25341]:

    Should I worry


    Thanks for your outstanding support on this forum !

    Oddvin

  13. #28
    Member
    Join Date
    Sep 2003
    Posts
    658

    Default

    Quote Originally Posted by widesurf
    I finally guessed that was the reason and it's good to have it answered here

    However, (don't know if this matters), but when restarting DNS server (Named)
    it says:

    loading configuration from '/etc/named.conf' Apr 23 11:35:06 server named[25341]: no IPv6 interfaces found Apr 23 11:35:06 server named[25341]:

    Should I worry


    Thanks for your outstanding support on this forum !

    Oddvin
    No, no need to worry, that is for IP version 6 which will someday include six sets of octets numbers 123.345.678.2.3 because IP version 4 is running out of available octets.
    Last edited by easyhoster1; 04-24-2006 at 06:08 AM.

  14. #29
    BANNED
    Join Date
    Jul 2005
    Posts
    537

    Default

    Quote Originally Posted by sawbuck
    In addition to 127.0.0.1 that line should include all IPs on the server plus other IPs that you want to allow recursion.

    ACLs are another way to handle this.
    http://www.net.cmu.edu/groups/netdev...9ARM.ch07.html

    For instance we use this type of config:
    acl "trusted" {
    "main server IP";
    127.0.0.1;
    "name server IP";
    "name server IP";
    "additional secondary name server IP;
    "and so on";

    };
    options {
    directory "/var/named";
    version "not currently available";
    allow-recursion { trusted; };
    allow-notify { trusted; };
    allow-transfer { trusted; };
    };
    From my personal experience, this setup if far from perfect and we have seen far too many issues with this setup. For eg, once this is implamented there will be a noticable increase in the dreaded "UNROUTABLE DOMAIN" issue in the mail logs. We tested one of our servers using this setup and within 2 weeks every single messages being sent to the server was reporting an unroutable issue, obviously DNS releated. Once we restored our backup all the problems went away. So i suggest that if you imlament this modificaiton that you watch your maillog carefully!!!
    Last edited by jackie46; 05-01-2006 at 03:50 AM.

Similar Threads & Tags
Similar threads

  1. DNS Lookups
    By srthost in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 04-29-2009, 11:14 PM
  2. Really BAD DNS server issues, stops resloving
    By mm1250 in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 04-13-2009, 12:01 PM
  3. DNS recursive lookups?
    By jamesbond in forum cPanel and WHM Discussions
    Replies: 17
    Last Post: 03-12-2004, 04:24 PM
  4. disable dns lookups in webalizer
    By amusive in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 09-04-2003, 05:46 PM
  5. Webalizer & DNS Lookups
    By JustinK in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 01-27-2003, 12:47 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube