help with dns please

Discussion in 'Server Operation' started by meomike2000, Oct 19, 2008.

  1. meomike2000

    meomike2000 New Member

    here is a little about my situation. I have set server following the perfect server ubuntu8.04 (i call it web.) from the how to on this site. i have installed ispconfig and have that working. i also have my own dns server (i call this one dns) set up and can access the server named web and get to the logon page for ispconfig from any computer. i can also ping the other computers on the network, by name or ip address. the problem that i have is when i set up a new site via ispconfig, i can not access the site from any computer. any suggestion. i think that i could just add the sites to the zone file on the dns server and that would take care of the issue, but it seams that there must be some other way that would be more automated.

    i also would think that i could just add the server web to the resolv.conf file on the dns server.

    would this work, and would it be secure.
     
  2. falko

    falko Super Moderator Howtoforge Staff

    Please make sure that your DNS server is authoritative for your domains. You can check that with
    Code:
    dig ns yourdomain.com
     
  3. meomike2000

    meomike2000 New Member

    can u show me an example of exactly how that should look. i know it probly is very simple but this is the first time that i have tried to add in a second server that will have sites on it.
     
  4. falko

    falko Super Moderator Howtoforge Staff

    Code:
    mh1:~# dig ns example.com
    
    ; <<>> DiG 9.3.4 <<>> ns example.com
    ;; global options:  printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 46475
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0
    
    ;; QUESTION SECTION:
    ;example.com.                   IN      NS
    
    ;; ANSWER SECTION:
    example.com.            172800  IN      NS      [B][COLOR="Red"]a.iana-servers.net[/COLOR][/B].
    example.com.            172800  IN      NS      [B][COLOR="Red"]b.iana-servers.net[/COLOR][/B].
    
    ;; Query time: 68 msec
    ;; SERVER: 213.191.92.84#53(213.191.92.84)
    ;; WHEN: Mon Oct 20 13:25:07 2008
    ;; MSG SIZE  rcvd: 77
    
    mh1:~#
    The servers in red are the authoritative name servers.
     

Share This Page