Do I need a DNS zone and setup the DNS server?

Discussion in 'Installation/Configuration' started by olieb, Jun 14, 2011.

  1. olieb

    olieb New Member

    I build a webserver following the HOWTO:http://www.howtoforge.com/perfect-server-ubuntu-11.04-ispconfig-3
    I have my own domain name registered 1 month ago at register.com and it is tied into my static public IP. My intention is to host some more websites for others.
    The command dig mx mydomain.com shows:
    Code:
    [email protected]:~$ dig mx mydomain.com
    
    ; <<>> DiG 9.7.3 <<>> mx mydomain.com
    ;; global options: +cmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 13719
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
    
    ;; QUESTION SECTION:
    ;mydomain.com.		IN	MX
    
    ;; ANSWER SECTION:
    mydomain.com.	14400	IN	MX	10 mail.mydomain.com.
    
    ;; ADDITIONAL SECTION:
    mail.mydomain.com.	14400	IN	A	my public IP
    
    ;; Query time: 256 msec
    ;; SERVER: 192.168.178.1#53(192.168.178.1)
    ;; WHEN: Tue Jun 14 18:52:39 2011
    ;; MSG SIZE  rcvd: 70
    Should I still use the DNS server and create the DNS records for my domain using ISPConfig, or is that not needed?
    If I don't do this can I then still create domains names for others using my server?

    Please advice.

    p.s. Yes I am still learning :).
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    You dont need to run your own dns server when you use the dns of your registrar.
     
  3. olieb

    olieb New Member

    Thanks for the reply.

    What if I am going to host others on my server? How does it work if they have no domain name, can I create one for them if I use the DNS?
    What if they have a domainname, how can their IP be redirected to my server?
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    If they dont have a domain, they will have to register a domain name or you offer them a subdomain of your own domain name. You can do this with the dns server of your registry or run your own dns server. Thats totally up to you. You will also find some more detaled instructions on how to create DNS records in the ISPConfig 3 manual.
     

Share This Page