1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

reseller DNS, /etc/resolv.conf ?

Discussion in 'Plesk for Linux - 8.x and Older' started by JohnB@, Sep 16, 2006.

  1. JohnB@

    JohnB@ Guest

    Hello All:

    When giving a reseller his/her own nameservers in Plesk 8, do I add these in
    as well ?
    E.g., my /etc/resolv.conf looks like this:
    search mydomain.com
    ....should I add:
    search resellerdomain.com

    Please advise.

  2. faris

    faris Guest

    Hi John,

    To the best of my knowledge, no you don't need to do anything like that.

    When a nameserver is registered for a domain all that happens is that you effectively get a pointer, making nsX.whatever.tld point to a certain IP address.

    As long as that IP address is the IP address of your DNS server (i.e. your plesk box) then it will work.

    What I'm saying is that there is nothing stopping anyone anywhere in the world creating nameserver records for any domain they own and pointing them to your box. There are no config changes you need to make in order to allow this.

    Of course if you have not configured named to prevent recursive DNS then effectively this would allow anyone to hijack the processing power of your box to do their own DNS lookups.

    But I may be wrong on all this. Maybe someone else will pipe up with a more definitive answer.

  3. frostie

    frostie Guest

    /etc/resolv.conf is ONLY used to resolve domain name queries inside the server. For example if you ping / traceroute a domain it will query this file to decide what DNS nameservers to query for its results.