Configuring own nameserver

Discussion in 'Installation/Configuration' started by Showa, Oct 2, 2010.

  1. Showa

    Showa Member

    Hello to you all,

    Using this howto: I configured ispconfig 3 as a nameserver. I used this site: setting up some websites with domains I own. I asked my domainregistrar to create a glue record to use my servers ip as ns1 and ns2. Checking this I see the names of the nameserver.

    I'm using a Thompson gateway ip The server is connected at the gateway through a router this has to change when everything is functioning. Eth0 primary dns is the ip adres of the gateway. Otherwise I cannot connect at the internet. I tried putting servers ip as dns1 and dns2 at eth0 but then there is no connection. Are there other settings I have to change in ispconfig or at eth0, or do I maybe have to open a port on the gateway?

    With kind regards Ad.
  2. falko

    falko Super Moderator ISPConfig Developer

    I'm sorry, but I don't understand what you did. Can you describe it in more detail? Are you referring to /etc/resolv.conf, to your BIND configuration, to ISPConfig, etc.?
  3. Showa

    Showa Member

    I followed the howto's exactly. I own domains and I wanted the nameservers on and both on the same ip-adres I asked the registrar to create the glue record. Doing a dns check I cannot reach There are no nameservers at the child. Checking at the registrar the nameservers are visible. Trying to reach ceciliahandel The nameservers of domeinbalie (=registrar) appear.

    I don't reffer at the Bind, ISPConfig etc settings, but at the settings made in networkmanagement at eth0 Settings there are: standard gateway nameserver servername and it's ip-adres

    I don't know if something is wrong at my settings or at the registrar settings.
  4. falko

    falko Super Moderator ISPConfig Developer

    Can you post your network configuration file and /etc/resolv.conf?

    Which distribution do you use?
  5. Showa

    Showa Member

    Hello Falko,

    I'm using centos 5.5 X86_64.

    This is in /etc/resolv.conf:

    ; generated by /sbin/dhclient-script

    Where can I find the network configuration file? Is this the file?

    # Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller

    Maybe the problem is the gateway, the ip adress I used for ns1 and ns2 is the ip-adres from the gateway, looked it up with what is myip.

    Think I will try to build the server again, connected at the Thompson gateway.

    With kind regards Ad.
    Last edited: Oct 5, 2010
  6. falko

    falko Super Moderator ISPConfig Developer

    Please try
    in /etc/resolv.conf.
  7. Showa

    Showa Member

    Hello again,

    Still strugling with my server.
    I reinstalled everything.

    Nameserver in resolv.conf is set to:

    Eth0 IP-adress:
    Gateway: (=IP-adress from the Thompson gateway)

    Looking in ISPConfig I see in System-server config this:

    IP =>has this to be the IP I see with whatsmyip, or is this correct?
    Gateway => has this to be
    Nameservers, => has this to be and only one nameserver?
    I noticed in the howtoforge a perfect server you used two nameservers ip's during installation of centos 5.5, are those random ip's? I used there

    Do I need to change the IP-adress in System-Server IP adress? Trying to create a website at Sites-Website-Add new website: I see now an asterix. Do I have to use

    Is it easier to use the registrars nameservers, or should I use No-ip or MyDNS?

    Again a lot of questions. I liked the manual, it is becoming clearer now, but for a novice it is still difficult, but I'm convinced I'm getting there.

    With kind regards,

  8. falko

    falko Super Moderator ISPConfig Developer is correct.

    If your router has the internal IP, then yes.
    You can use the IPs from the tutorial, these are working nameservers. is a Google nameserver. Usually your router runs a nameserver as well, so you could also use OR use the nameservers from your ISP.

    It's a good idea to add

    It's easier to use your registrar's nameservers.
  9. Showa

    Showa Member

    Thank you for your reply Falko,

    I managed to connect to my server setup using the registrars nameservers and referring through an A-account at the registrar at my server. The manual put me on the right track.
    A hurdle has been token.

    With kind regards, until other questions


Share This Page