Networking Forums

Networking Forums > Computer Networking > Linux Networking > Linux DNS Configuration

Reply
Thread Tools Display Modes

Linux DNS Configuration

 
 
amasso
Guest
Posts: n/a

 
      04-20-2006, 02:07 PM
Hello,

I'm trying to configure a Linux server to act as a DNS server. Below is
my config files:

File: "/etc/named.conf"

zone "my-domain.com" {
type master;
file "/var/lib/named/my-domain.com.hosts";
allow-transfer { Slave Server; };
};
zone "XXX.XX.XX.in-addr.arpa" {
type master;
file "/var/lib/named/XXX.XX.XX.in-addr.arpa";
};

File: "/var/lib/named/my-domain.com.hosts"

$ttl 38400
my-domain.com. IN SOA my-domain.com. admin.my-domain.com.
(
2006041804
10800
3600
604800
38400 )
my-domain.com. IN NS ns1.my-domain.com.
my-domain.com IN NS ns2.my-domain.com.
my-domain.com. IN A MyServerIP

mail.my-domain.com. IN CNAME my-domain.com.
my-domain.com. IN MX 10 mail.my-domain.com.
www IN CNAME my-domain.com.
ftp IN A MyServerIP
ns1 IN A MyServerIP
ns2 IN A SlaveServerIP

File: "var/lib/named/XXX.XX.XX.in-addr.arpa"

$ttl 38400
my-domain.com. IN SOA my-domain.com. admin.my-domain.com.
(
2006041804
10800
3600
604800
38400 )

my-domain.com. IN NS ns1.my-domain.com.

XX PTR ns1.my-domain.com

BIND is running on the server. If I use dig, host & ping from the local
server all information returns correctly.

>From an external machine I can't ping ns1.my-domain.com.


Am I doing something wrong?

Please advice.

Thanks

 
Reply With Quote
 
 
 
 
Robert
Guest
Posts: n/a

 
      04-21-2006, 09:36 PM
On Thu, 20 Apr 2006 07:07:02 -0700, amasso wrote:

> File: "/var/lib/named/my-domain.com.hosts"
>
> $ttl 38400
> my-domain.com. IN SOA my-domain.com. admin.my-domain.com.
> (
> 2006041804
> 10800
> 3600
> 604800
> 38400 )
> my-domain.com. IN NS ns1.my-domain.com.
> my-domain.com IN NS ns2.my-domain.com.
> my-domain.com. IN A MyServerIP
>
> mail.my-domain.com. IN CNAME my-domain.com.
> my-domain.com. IN MX 10 mail.my-domain.com.
> www IN CNAME my-domain.com.
> ftp IN A MyServerIP
> ns1 IN A MyServerIP
> ns2 IN A SlaveServerIP
>
> File: "var/lib/named/XXX.XX.XX.in-addr.arpa"
>
> $ttl 38400
> my-domain.com. IN SOA my-domain.com. admin.my-domain.com.
> (
> 2006041804
> 10800
> 3600
> 604800
> 38400 )
>
> my-domain.com. IN NS ns1.my-domain.com.
>
> XX PTR ns1.my-domain.com


Don't you want to add the ftp record here too?

> BIND is running on the server. If I use dig, host & ping from the local
> server all information returns correctly.
>
>>From an external machine I can't ping ns1.my-domain.com.

>
> Am I doing something wrong?


Are the external machine setup to use your dns system?
Could there be a firewall blocking port 53 request from the external
machines?


--

Regards
Robert

Smile... it increases your face value!


----== Posted via Newsfeeds.Com - Unlimited-Unrestricted-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups
----= East and West-Coast Server Farms - Total Privacy via Encryption =----
 
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux Passive FTP Configuration Fountain_spray Linux Networking 7 07-11-2008 04:40 PM
TCP configuration within linux Alaa Linux Networking 0 07-08-2005 10:39 AM
Linux firewall configuration Daniel Camps Linux Networking 0 11-30-2004 05:17 PM
Linux firewall configuration Daniel Camps Linux Networking 0 11-30-2004 04:36 PM
Linux wlan-ng configuration problems (LINUX) matty-x Wireless Internet 2 09-05-2003 09:18 AM



1 2 3 4 5 6 7 8 9 10 11