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; }; }; |
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; }; }; |
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; }; }; |
All times are GMT -5. The time now is 06:13 PM. |