LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-10-2008, 12:47 AM   #1
rajinfokiit
LQ Newbie
 
Registered: Sep 2008
Posts: 3

Rep: Reputation: 0
dns is not able to ping


Dear All

i am having my domain name ---indopia.net registered with godady.com
now i want to prepare my own dns server.........
but prob is ......it is not able to work my named and zone files are---------as follows
$TTL 86400
@ IN SOA ns1.indopia.net. root.indopia.net. (
42 ; serial (d. adams)
3H ; refresh
15M ; retry
1W ; expiry
1D ) ; minimum
@ IN NS ns1

indopia.net. IN NS ns1.indopia.net.
indopia.net. IN A 220.156.188.161

and named.conf

zone "indopia.net" IN {
type master;
file "ns1.indopia.zone";
allow-update { none; };

};
 
Old 09-10-2008, 02:45 AM   #2
davidmuraya
LQ Newbie
 
Registered: Sep 2008
Location: Nairobi
Distribution: Fedora 9
Posts: 10

Rep: Reputation: 0
Please post the whole named.conf.

Check the listen-on portion of your named.conf
You should put the addresses of the IP to allow in this portion.
listen-on {
127.0.0.1;
private-IP;
public-IP;
};
};

Last edited by davidmuraya; 09-10-2008 at 03:31 AM.
 
Old 09-11-2008, 01:32 AM   #3
rajinfokiit
LQ Newbie
 
Registered: Sep 2008
Posts: 3

Original Poster
Rep: Reputation: 0
Unhappy dns is ready but not able to dig my hosted domain from outside........

my main dns confi.
*********************
$TTL 86400
@ IN SOA server.ns1.indopia.net. root.server.indopia.net. (
42 ; serial (d. adams)
3H ; refresh
15M ; retry
1W ; expiry
1D ) ; minimum
ns1.indopia.net. IN NS server.ns1.indopia.net.
ns1.indopia.net. IN A 220.156.188.161
_________________________________________________________________
my hosted domain--
$TTL 86400
@ IN SOA ns1.indopia.net. root.indopia.net. (
42 ; serial (d. adams)
3H ; refresh
15M ; retry
1W ; expiry
1D ) ; minimum
sunworld.in. IN NS ns1.indopia.net.
sunworld.in. IN A 147.202.41.44
ns1.indopia.net. IN A 220.156.188.161
------------------------------------------------------------------
named.conf
********************************************
options {
listen-on port 53 { 127.0.0.1; 220.156.188.161; };
listen-on-v6 port 53 { ::1; };
directory "/var/named";
dump-file "/var/named/data/cache_dump.db";
statistics-file "/var/named/data/named_stats.txt";
memstatistics-file "/var/named/data/named_mem_stats.txt";

// Those options should be used carefully because they disable port
// randomization
// query-source port 53;
// query-source-v6 port 53;

//allow-query { localhost; };
};

zone "." IN {
type hint;
file "named.ca";
};

zone "ns1.indopia.net" IN {
type master;
file "ns1.indopia.zone";
allow-update { none; };
};
zone "sunworld.in" IN {
type master;
file "sunworld.in.zone";
allow-update { none; };
};
 
  


Reply



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
PC can ping by IP, not by dns name nbowman Linux - Networking 10 11-24-2007 01:38 AM
LAN/ADSL Router ping working but DNS ping fails R N Ghosh Linux - Networking 1 01-13-2006 07:44 AM
can't ping DNS wmburke Linux - Wireless Networking 7 06-08-2005 02:12 PM
Traceroute, Ping, Domain Name Server (DNS) Lookup, WHOIS, and DNS Records Lookup netoknet General 1 05-09-2005 03:43 AM
ping via DNS? ryedunn Linux - Networking 3 10-11-2004 03:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:26 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration