The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Stop unneccessary DNS services?

Discussion in 'Workarounds and Optimization' started by mikelegg, Nov 7, 2010.

Thread Status:
Not open for further replies.
  1. mikelegg

    mikelegg Well-Known Member

    Joined:
    Mar 29, 2005
    Messages:
    330
    Likes Received:
    0
    Trophy Points:
    16
    I have a server that formerly had the role of DNS server as well a web server, but is now just a web server.

    Now that it doesn't have to perform the DNS server role, are there any services that I can switch off to conserve resources.
     
    #1 mikelegg, Nov 7, 2010
    Last edited: Nov 8, 2010
  2. kotakomputer

    kotakomputer Member

    Joined:
    Mar 21, 2010
    Messages:
    24
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    Jakarta, Indonesia
    Just remove the DNS Service.
     
  3. mikelegg

    mikelegg Well-Known Member

    Joined:
    Mar 29, 2005
    Messages:
    330
    Likes Received:
    0
    Trophy Points:
    16
    I think that might be a bit dangerous because (if I understand the system correctly) the web servers still use Bind to write their zone files before they are pushed to the DNS servers.

    I don't think there's anything that can be turned off. But the burden of providing DNS information stops once the server is no longer being queried as an authoritative name server.
     
  4. cPanelJared

    cPanelJared Technical Analyst
    Staff Member

    Joined:
    Feb 25, 2010
    Messages:
    1,842
    Likes Received:
    18
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    In Main >> Service Configuration >> Nameserver Selection, select "Disabled." Also, in Main >> Service Configuration >> Service Manager, make sure that BIND/named or NSD is disabled. After making these changes, no DNS service will start, and cPanel will function normally.
     
  5. mikelegg

    mikelegg Well-Known Member

    Joined:
    Mar 29, 2005
    Messages:
    330
    Likes Received:
    0
    Trophy Points:
    16
    Thanks for confirming that.
     
  6. mikelegg

    mikelegg Well-Known Member

    Joined:
    Mar 29, 2005
    Messages:
    330
    Likes Received:
    0
    Trophy Points:
    16
    The only odd thing I notice now is that when I enable SPF on a domain via cPanel, I get the following error message ... "Status: Enabled, WARNING: SPF cannot be used because this server is not a DNS server for domain.tld [?]"

    The SPF record does appear to be successfully added to the DNS zone though.
     
  7. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    The server isn't being used for DNS services, so it isn't a server for DNS for that domain. The SPF and domain keys area (cPanel > Email Authentication) isn't able to detect that the machine has been clustered to other servers which are handling the DNS services. Since the records are properly adding and the message is correct that the machine isn't a DNS server for the domain, the scenario that is happening is accurate.
     
Thread Status:
Not open for further replies.

Share This Page