DNS Questions...

Discussion in 'Installation/Configuration' started by X_to_Z, Mar 12, 2006.

  1. X_to_Z

    X_to_Z New Member

    Hi there!

    I recently tried many times to install and configure a web server, but all over in failures... But thats other question...

    My question now is, how can I configure the DNS? I've bought a domain name, and there I've to put one name server at least, but I don't know what to put there... If I put my ip address, in this case: it didn't accept it, but if i put my hostname : cb-217-129-173-164.netvisao.pt it accept it, but it doesn't work...

    For example, my domain name is osiriscomplex.net, what I have to do to create the name server, can i use my hostname instead? What about the records? What I have to do?

    Thanks in advance... and excuse my bad english (I'm portuguese)
  2. atj

    atj New Member

    Delegation looks ok:
    host -t ns osiriscomplex.net
    osiriscomplex.net name server cb-217-129-173-164.netvisao.pt.

    But trying to retrieve records from your NS doesn't work:
    host -t ns osiriscomplex.net
    ;; connection timed out; no servers could be reached

    It would appear that there's no name server running at


    Starting nmap 3.55 ( http://www.insecure.org/nmap/ ) at 2006-03-13 19:59 EST
    Note: Host seems down. If it is really up, but blocking our ping probes, try -P0
    Nmap run completed -- 1 IP address (0 hosts up) scanned in 12.084 seconds

    Got port 53 open and name server running running on that machine?
  3. X_to_Z

    X_to_Z New Member

    And how can I create name servers for that IP, that IP is my home IP, and at this time I have the machine down...

    Thanks for your help :)
  4. falko

    falko Super Moderator Howtoforge Staff

  5. X_to_Z

    X_to_Z New Member

    Thanks for your help falko!

    I bought managed DNS for my domain. Later I created the A records, and the MX record.

    the osiriscomplex.net domain is already working, but another A record I have created, is only working at my localhost ( isis.osiriscomplex.net )...

    I don't know if I did the right things, but now I have this resolved for some time. I have to read with more time the Traditional DNS How-to.

  6. X_to_Z

    X_to_Z New Member

    I'm lost! ... My domain seems to be in 2 servers... I think it's because of the name servers...

    I created 2 NS records at the managed dns service, and the target is my IP (is it?), next, I try to change the name servers for that domain, and I put there 2 name servers, ns1.osiriscomplex.net and ns2.osiriscomplex.net, but it gives me an error, something like: NameServer ns1.osiriscomplex.net is not a valid Nameserver

    What can I do?... Is there some step by step tutorial, explaining how can I create the name servers, and so on?...

    Thanks for all the help :)
  7. falko

    falko Super Moderator Howtoforge Staff

    You must create A records for ns1.osiriscomplex.net and ns2.osiriscomplex.net. They don't exist yet:

    dig ns1.osiriscomplex.net
    ; <<>> DiG 9.2.1 <<>> ns1.osiriscomplex.net
    ;; global options:  printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 17494
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
    ;ns1.osiriscomplex.net.         IN      A
    ;; Query time: 243 msec
    ;; SERVER:
    ;; WHEN: Tue Mar 14 17:54:04 2006
    ;; MSG SIZE  rcvd: 39
    mh1:~# dig ns2.osiriscomplex.net
    ; <<>> DiG 9.2.1 <<>> ns2.osiriscomplex.net
    ;; global options:  printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 20919
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
    ;ns2.osiriscomplex.net.         IN      A
    osiriscomplex.net.      10800   IN      SOA admin.osiriscomplex.net. 2006031404 28800 7200 604800 86400
    ;; Query time: 78 msec
    ;; SERVER:
    ;; WHEN: Tue Mar 14 17:54:10 2006
    ;; MSG SIZE  rcvd: 96

Share This Page