PDA

View Full Version : DNS Questions...


X_to_Z
12th March 2006, 20:28
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: 217.129.173.164 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)

atj
13th March 2006, 09:59
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 217.129.173.164
;; connection timed out; no servers could be reached

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

nmap 217.129.173.164

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?

X_to_Z
13th March 2006, 10:41
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 :)

falko
13th March 2006, 11:34
Have a look at this post: http://www.howtoforge.com/forums/showpost.php?p=6292&postcount=4

This tutorial might also help you: http://www.howtoforge.com/traditional_dns_howto

X_to_Z
14th March 2006, 10:31
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.

Thanks!

X_to_Z
14th March 2006, 15:42
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 :)

falko
14th March 2006, 17:55
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

;; QUESTION SECTION:
;ns1.osiriscomplex.net. IN A

;; Query time: 243 msec
;; SERVER: 81.169.163.104#53(81.169.163.104)
;; 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

;; QUESTION SECTION:
;ns2.osiriscomplex.net. IN A

;; AUTHORITY SECTION:
osiriscomplex.net. 10800 IN SOA 217.129.173.164. admin.osiriscomplex.net. 2006031404 28800 7200 604800 86400

;; Query time: 78 msec
;; SERVER: 81.169.163.104#53(81.169.163.104)
;; WHEN: Tue Mar 14 17:54:10 2006
;; MSG SIZE rcvd: 96