Dns Configure -- Emergency

Discussion in 'Installation/Configuration' started by edony44, Nov 27, 2006.

  1. edony44

    edony44 New Member

    Hi,

    I have some problem with my registrar and DNS

    i would like my server to be his dns server, so i won't have to add any sub domain in my registrer dns who don't accept wildcard.

    But i don't know exactly how to do it
    My server is behind a NAT so ISPCONFIG is configured like PERFECT SETUP tell
    and so ispconfig ip is 192.168.0.100 if I make a
    DIG @192.168.0.100 mydomain.com : it's work
    but if i make a DIG @ext.ern.al.ip mydomain.com it doesn't work ..

    My registrar can let me change my dns server but he verify if the ip and the dns name server are correct .. so he always said me that it's wrong.

    Should i change ip adderss and mask in ispconfig to put my external ip address or should i change only the dns address and where ???

    Thanks

    ( i've try the tutorial with godaddy but it doesn't work ( ispconfig use my local ip )
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    If you run dig @192.168.0.100 mydomain.com, do you get your internal or external IP address as result. It must be the external IP. If not, correct it in the ISPConfig DNS-Manager.
     
  3. Berry

    Berry New Member

    You shouldn't use your internal IP address, use your external (and fixed, not dynamic) IP address. In the Internet all servers communicate on external IP addresses.

    Btw. the internal IP is for use on your local network and in best configuration external users shouldn't never know your internal IP!
     
  4. edony44

    edony44 New Member

    So why the PERFECT SETUP use a local ip address to configure ispconfig

    When i make a dig on @192.168.0.100 i have my external ip appearing and
    my dns server ns1.domain.com
    ns2.domain.com
     
  5. till

    till Super Moderator Staff Member ISPConfig Developer

    Because thats totally correct. You must use the internal IP to confiogure your server and websites but your external for DNS.
     
  6. edony44

    edony44 New Member

    Ok

    So what file do i need to change ?
     
  7. till

    till Super Moderator Staff Member ISPConfig Developer

    There is no file that needs to be changed. Please do what I told you here:

    Login to ISPConfig, go to the DNS manager and correct the IP address so it matches your external IP.
     
  8. edony44

    edony44 New Member

    I ve only one server
    should i need another to change my registrar DNS ?
    or are there address
    ns1.domain.com --- > point to my ip ( external )
    ns2.domain.com --- > point to the same ip
     
  9. Berry

    Berry New Member

    @registrar side you have to be able to define NameServers and point them at your server's external IP (eg. in mentioned GoDaddy example), OR configure DNS services at your registrar (mostly called "Managed DNS" and non-free)..

    @your server's DNS (using ISPConfig) - define "A" record for, eg. NS1 and NS2 to point to external IP address of your server.
     
  10. edony44

    edony44 New Member

    it seems to work .. my registrar has accepted to change dns server .
    so now i think it will take 24-48 hours to change ..

    Thanks you guys
     
  11. edony44

    edony44 New Member

    Is there any way to know if it work without waiting the propagation time ?
    Do my server need to run during the propagation process ?
     
  12. Berry

    Berry New Member

    yes, use Dig to check, as Till suggested ...
     
  13. edony44

    edony44 New Member

    okay dig @internal return my external ip
    But with Whois : in nameserver there the old dns not the new
    Normal ?
    Do i need to keep my server on during propagation process or can i shut it down ?
     
  14. DerLobo

    DerLobo New Member

    Hello,

    I have a very similar problem.

    I created 2 A records in my Domain.

    1. ns1.domain.de -> IP 82.xxx.xxx.xxx
    2. ns2.domain.de -> IP 83.xxx.xxx.xxx

    IP number 1 is the main IP for the whole server and all webs listen to this.
    IP number 2 is a IP from a second IP net (need for DENIC).

    Both IP's are in webmin:
    IP 1: eth0
    IP 2: eth0:3

    Also the IP 1 is in the server configuration from ispconfig.
    IP 2 is insert in the text box below in admin section of ISPconfig.
    After I went to my registrar, where I try to update the domain.de
    domain.de
    -> ns1.domain.de IN A 82.xxx.xxx.xxx
    -> ns2.domain.de IN A 83.xxx.xxx.xxx

    All I get is an DNS from DENIC.
    Can anybody tell me, what's wrong? I tried to provide as much as information as possible.
     
  15. Berry

    Berry New Member

    It's simple - it says that DENIC couldn't get any reply from your NS2, I guess you didn't configure it?
    What is the second IP from? Is it another server?? It has to be and also has to have the same DNS data like NS1. You have to configure DNS on this NS2 to mirror the NS1 settings, because both are authoritative for subdomains of your main domain.
    For more information and understanding how DNS'es work look at excelent tutorial http://www.howtoforge.com/traditional_dns_howto ;)
     
  16. DerLobo

    DerLobo New Member

    Hello,

    thanks,
    the second IP is from an different Class C net. This is required for the ns2
    But I add this as virtual IP so that I asume, it take the data from IP 1.

    I will read the posted howto now and hope. I understand a bit more..
     
  17. till

    till Super Moderator Staff Member ISPConfig Developer

    It may take up to 3 days until the whois changes. Normally it takes about 24 - 48 hours.
     
  18. till

    till Super Moderator Staff Member ISPConfig Developer

    Do you try to set ns1.domain.de as nameserver for domain.de or for another domain?
     
  19. DerLobo

    DerLobo New Member

    First I want ns1.domain.de and ns2.domain.de use for this domain.de

    After, when it is working, I want to use n1.domain.de and ns2.domain.de for other domains also.
     
  20. till

    till Super Moderator Staff Member ISPConfig Developer

    You can not use a subdomain of domain.de (e.g. ns1.domain.de or ns2.domain.de) as nameservers for domain.de, because the lookup for domain.de will not work.

    Does your server has a technical domain that is assigned from your hoster directly for maintenance purposes? Most server hosting providers assign such a domain. You may use this domain as ns1 for doamin.de.

    This will be no problem.
     

Share This Page