Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

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:
    166
    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:
    53
    Location:
    Jakarta, Indonesia
    Just remove the DNS Service.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. mikelegg

    mikelegg Well-Known Member

    Joined:
    Mar 29, 2005
    Messages:
    330
    Likes Received:
    0
    Trophy Points:
    166
    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

    Joined:
    Feb 25, 2010
    Messages:
    1,835
    Likes Received:
    20
    Trophy Points:
    143
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. mikelegg

    mikelegg Well-Known Member

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

    mikelegg Well-Known Member

    Joined:
    Mar 29, 2005
    Messages:
    330
    Likes Received:
    0
    Trophy Points:
    166
    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,608
    Likes Received:
    32
    Trophy Points:
    238
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...
Thread Status:
Not open for further replies.

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice