Results 1 to 10 of 10
-
11-30-2006, 03:53 PM #1WHT Addict
- Join Date
- Mar 2004
- Posts
- 159
Does this DNS setup look correct and question about what IP to point to?
Hello,
Here is the named.conf (IPs and domains replaced):
Code:// Default named.conf generated by install of bind-9.2.4-16.EL4 options { directory "/var/named"; dump-file "/var/named/data/cache_dump.db"; statistics-file "/var/named/data/named_stats.txt"; }; zone "example.com" { type master; file "/var/named/zones/example.com.db"; }; zone "111.22.22.in-addr.arpa" { type master; file "/var/named/zones/111.22.22.rev"; }; include "/etc/rndc.key";
Code:$TTL 3h ; ; example.com.db ; ;SOA records @ IN SOA ns1.example.com admin.example.com. ( 1 ; serial 3h ; refresh 1h ; retry 1w ; expire 1h ) ; minimum ;NS RECORDS IN NS ns1.example.com. IN NS ns2.example.com. IN MX 10 mail.example.com. example.com. IN A 69.80.225.200 www IN A 22.22.111.200 ftp IN A 22.22.111.200 mail IN A 22.22.111.200
Code:@ IN SOA ns1.example.com. admin.example.com. ( 2006081401; 28800; 604800; 604800; 86400 ) IN NS ns1.example.com. IN NS ns2.example.com. 1 IN PTR example.com
Let say I have the IP numbers 22.22.111.200, 22.22.111.201 and 22.22.111.202.
To what IP numbers do I register the nameservers at my domain registrar? Does it matter? I'm planning to register both ns1.example.com and ns2.example.com to this server, can I for example just register them to 22.22.111.200 and 22.22.111.201?
Best Regards
Oskar R
-
11-30-2006, 04:42 PM #2Junior Guru
- Join Date
- Sep 2005
- Location
- Southern California
- Posts
- 179
The host records that you should register would be the IP address(es) of your DNS server(s). If you just have one server, but multiple IP's, you can register two IP's on the same server.
Your DNS server should also have corresponding A records for the NS1/NS2 entries, even though this is taken care of by the host records.
Visit http://www.dnsreport.com/tools/dnsre...in=example.com to see how your DNS checks out.
-
11-30-2006, 05:07 PM #3WHT Addict
- Join Date
- Mar 2004
- Posts
- 159
Hello,
When I run at DNS report I get the following errors:
FAIL Missing nameservers 2 ERROR: One or more of the nameservers listed at the parent servers are not listed as NS records at your nameservers.
FAIL Lame nameservers
FAIL SOA Record No valid SOA record came back:
I've no idea of how to solve that so please help.
Best Regards
Oskar R
-
11-30-2006, 05:18 PM #4Junior Guru
- Join Date
- Sep 2005
- Location
- Southern California
- Posts
- 179
Well you need to register the host records, once you do that things should start working a little better.
-
11-30-2006, 05:23 PM #5WHT Addict
- Join Date
- Mar 2004
- Posts
- 159
Hello,
OK, do you mean at the registrar?
If, and if you can answer, why didn't I have to do that before when I had Cpanel to control my old server with?
If it is in the server, how do I do it/where do I add it?
Thanks in advance,
Oskar R
-
11-30-2006, 05:29 PM #6Junior Guru
- Join Date
- Sep 2005
- Location
- Southern California
- Posts
- 179
You have to do this at your registrar. There is no way around it, someone must have done it before on your previous server. Whatever you are using for the domains as nameservers MUST have host records set.
-
11-30-2006, 05:37 PM #7WHT Addict
- Join Date
- Mar 2004
- Posts
- 159
Hello,
I'm sure no one has done it for me before. The only thing I did was to register ns1 to one IP on my server and ns2 to one IP on my server with the "register nameservers" option. Actually, according to my domain registrar I can't modify my host records at the registrar because I have my own nameservers registrated...
I mean, isn't that what my "example.com.db" in the first post does?
Best Regards
Oskar R
-
11-30-2006, 05:37 PM #8Managed Hosting Expert
- Join Date
- Jan 2004
- Location
- North Yorkshire, UK
- Posts
- 4,164
Add A records for ns1.example.com and ns2.example.com and that should solve your problem.
Dan█ Dan Kitchen | Technical Director | Razorblue
█ ddi: (+44) (0)1748 900 680 | e: dkitchen@razorblue.com
█ UK Intensive Managed Hosting, Clusters and Colocation.
█ HP Servers, Cisco/Juniper Powered BGP Network (AS15692).
-
11-30-2006, 05:45 PM #9WHT Addict
- Join Date
- Mar 2004
- Posts
- 159
Just did that and it works now.
-
11-30-2006, 05:46 PM #10Junior Guru
- Join Date
- Sep 2005
- Location
- Southern California
- Posts
- 179
Originally Posted by SWEoNET
Until you do this, nothing will work, regardless of whether or not you add A records in your zone files, as i already suggested earlier.