LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 11-30-2006, 02:07 PM   #1
Oskare100
LQ Newbie
 
Registered: Jun 2005
Posts: 15

Rep: Reputation: 0
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";
Here is the example.com.db :
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
Here is the 111.22.22.rev:
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
Does the above files look correct?

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
 
Old 11-30-2006, 03:07 PM   #2
Oskare100
LQ Newbie
 
Registered: Jun 2005
Posts: 15

Original Poster
Rep: Reputation: 0
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
 
Old 11-30-2006, 03:46 PM   #3
Oskare100
LQ Newbie
 
Registered: Jun 2005
Posts: 15

Original Poster
Rep: Reputation: 0
problem solved
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
DNS lookup not correct hondo Linux - Networking 1 01-22-2006 05:12 PM
Correct DNS setup? sti2envy Linux - Networking 2 10-06-2004 05:45 AM
DNS setup question radam Linux - Networking 9 08-07-2004 05:47 AM
What is the correct method to change mount point? davidas Linux - Newbie 4 04-19-2004 03:54 PM
Internet not working but dns is correct HILLbilly Linux - Networking 8 10-07-2003 11:08 AM


All times are GMT -5. The time now is 06:35 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration