
18th June 2010, 12:42
|
|
HowtoForge Supporter
|
|
Join Date: Nov 2006
Posts: 207
Thanks: 17
Thanked 3 Times in 3 Posts
|
|
How to test my name server & email server
I just want to know how to test my name server and if I have set it up right?
( my dns settings attached)
I have found in a topic to use:
Code:
dig @ns1.dcs-online.nl powerfromhell.com
if I do that I get:
Code:
server1:~# dig @ns1.dcs-online.nl powerfromhell.com
dig: couldn't get address for 'ns1.dcs-online.nl': not found
I can reach powerfromhell.com in my browser guess its still reachable trough the second ns (mydns.org) but that one I want to chance also if all the sites are moved from my local server to the server at the DC.
TIA
__________________
Updating my server to Debian Squeeze, so here I go again...
Last edited by DaRKNeSS666NL; 27th June 2010 at 22:28.
|

18th June 2010, 18:07
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,911
Thanks: 693
Thanked 4,198 Times in 3,213 Posts
|
|
You missed the dots at the end of the fully qualified domain names ( in all your CNAME records). In DNS, every FQDN has to end with a dot. Only relative dns Records like "www" do not end with a dot.
|

18th June 2010, 21:01
|
|
HowtoForge Supporter
|
|
Join Date: Nov 2006
Posts: 207
Thanks: 17
Thanked 3 Times in 3 Posts
|
|
Quote:
Originally Posted by till
You missed the dots at the end of the fully qualified domain names ( in all your CNAME records). In DNS, every FQDN has to end with a dot. Only relative dns Records like "www" do not end with a dot.
|
Stupid Me, posted the wrong image..
the right one:
Here I also aded the NS1 as a a record, I found that in an other topic.
__________________
Updating my server to Debian Squeeze, so here I go again...
|

19th June 2010, 12:21
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,911
Thanks: 693
Thanked 4,198 Times in 3,213 Posts
|
|
What you need is a glue record for ns1.dcs-online.nl which has to be setup in the dns server of the domain registry. Glue records are nescessary in a case where the ns2 is a subdomain of the zone which is the case in your setup (ns1.dcs-online.nl is a subdomain of dcs-online.nl). Thats the "hen <==> egg" problem. To lookup the zone dcs-online.nl one have to know ns1.dcs-online.nl, but ns1.dcs-online.nl is part of this zone, so it can not be looked up. The solution is the glue records, which can be setup in the dns server of the .nl registry.
More info:
http://en.wikipedia.org/wiki/Domain_Name_System
http://faq.domainmonster.com/dns/glue_record/
|

19th June 2010, 21:49
|
|
Junior Member
|
|
Join Date: Jun 2010
Posts: 16
Thanks: 1
Thanked 0 Times in 0 Posts
|
|
Till,
Are you refering to an A record of NS1 to Ip address for the domain?
If you have the Nameserver setup to go to ns1.example.com and it follows xxx.xxx.xxx.xxx would you also want to have the an A record of ns1 point to the xxx.xxx.xxx.xxx
Good practice?
|

19th June 2010, 22:10
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,911
Thanks: 693
Thanked 4,198 Times in 3,213 Posts
|
|
I'am talking about glue records, glue records are DNS A-Records, but theiy ahve to be set in the dns server of the registry and not your local DNS server. Please see the links above for a in depth explanation on glue records.
|

27th June 2010, 19:54
|
|
HowtoForge Supporter
|
|
Join Date: Nov 2006
Posts: 207
Thanks: 17
Thanked 3 Times in 3 Posts
|
|
Thanks to your links I have setup the nameserver with the glue record. Hope all has gone well.
One question left the mail server is setup right this way?
So my users just use pop3.dcs-online.nl & smtp.dcs-online.nl?
I guess I will notice in a few hours when the next refresh is completed...
__________________
Updating my server to Debian Squeeze, so here I go again...
|

27th June 2010, 22:27
|
|
HowtoForge Supporter
|
|
Join Date: Nov 2006
Posts: 207
Thanks: 17
Thanked 3 Times in 3 Posts
|
|
I dont think things are setup as it should be. I can test the name server with dig command.
Code:
server1:~# dig @ns1.dcs-online.nl dcs-online.nl
; <<>> DiG 9.6-ESV-R1 <<>> @ns1.dcs-online.nl dcs-online.nl
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 46077
;; flags: qr aa rd; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 1
;; WARNING: recursion requested but not available
;; QUESTION SECTION:
;dcs-online.nl. IN A
;; ANSWER SECTION:
dcs-online.nl. 86400 IN A 94.142.244.62
;; AUTHORITY SECTION:
dcs-online.nl. 86400 IN NS ns1.dcs-online.nl.
dcs-online.nl. 86400 IN NS ns1.mydyndns.org.
;; ADDITIONAL SECTION:
ns1.dcs-online.nl. 86400 IN A 94.142.244.62
;; Query time: 0 msec
;; SERVER: 94.142.244.62#53(94.142.244.62)
;; WHEN: Sun Jun 27 22:18:39 2010
;; MSG SIZE rcvd: 111
server1:~#
server1:~#
But I noticed one warning message in the output.
Also I cant send any email out if I test send with outlook the smtp server works but the pop3 server doesn't
Any help would be very appreciated...
__________________
Updating my server to Debian Squeeze, so here I go again...
|

28th June 2010, 10:17
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,911
Thanks: 693
Thanked 4,198 Times in 3,213 Posts
|
|
This looks all fine and the warning is ok too.
Regarding the pop3 server issue, please look in the mail log and post the error message(s).
|

28th June 2010, 13:04
|
|
HowtoForge Supporter
|
|
Join Date: Nov 2006
Posts: 207
Thanks: 17
Thanked 3 Times in 3 Posts
|
|
Quote:
Originally Posted by till
This looks all fine and the warning is ok too.
Regarding the pop3 server issue, please look in the mail log and post the error message(s).
|
All is working now but I had to make setting I dont want to.
It was only starting to work after I had made the pop3 & webmail zone with my dyndns account.
So I am guessing that my own name server isn't working as it is suppose to do.
__________________
Updating my server to Debian Squeeze, so here I go again...
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +2. The time now is 21:32.
|
|
Recent comments
20 hours 10 min ago
1 day 1 hour ago
1 day 5 hours ago
1 day 7 hours ago
1 day 21 hours ago
1 day 21 hours ago
2 days 2 hours ago
2 days 9 hours ago
2 days 10 hours ago
2 days 11 hours ago