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!

dns domain ownership

Discussion in 'Bind/DNS/Nameserver' started by tylerl, Oct 19, 2011.

  1. tylerl

    tylerl Active Member

    Joined:
    Dec 11, 2009
    Messages:
    28
    Likes Received:
    0
    Trophy Points:
    51
    Where does cPanel store the name of the user who owns a given DNS domain entry (not necessarily a domain hosted on the server).
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,277
    Likes Received:
    1,846
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello :)

    Domain ownership information is stored in the following file:

    Code:
    /etc/userdomains
    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. tylerl

    tylerl Active Member

    Joined:
    Dec 11, 2009
    Messages:
    28
    Likes Received:
    0
    Trophy Points:
    51
    If I remember correctly, /etc/userdomains only lists domains that are physically hosted on the server. What about domains for which DNS is hosted, but where the domain itself is not?
     
  4. NixTree

    NixTree Well-Known Member

    Joined:
    Aug 19, 2010
    Messages:
    407
    Likes Received:
    3
    Trophy Points:
    143
    Location:
    Gods Own Country
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    Yes, you can find the DNS ownership too in the same file. If you don't specify an owner while creating the DNS zone, the default owner will be "system".

    Thank you,
    Nibin.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,277
    Likes Received:
    1,846
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    The /etc/userdomains file includes domain names that only have a DNS Zone. You can test this by adding a DNS Zone to the server and confirming it's added to the /etc/userdomains file.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. andresbarriga

    andresbarriga Member

    Joined:
    Jul 13, 2011
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    51
    Location:
    santiago
    cPanel Access Level:
    DataCenter Provider
    parked domains and addon domains are in that file too?
     
  7. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,277
    Likes Received:
    1,846
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Yes, both parked and addon domains are included in the /etc/userdomains file.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

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