January 1, 2010

Named internal/external issue, Not resolving from outside the server !!

Named not starting...



Hi All,

We normally receive an issue with named not running.. and all the domains are not resolving from out side. Here is the check list to fix that.

first,

Check iptables / CSF / APF... stop these firewalls..
check "host domainname serverip" from outside

Still issues, Second fix

In named.conf, there may be two sets of named entries one for Internal and other for external.

You may need add the following two lines to the external section to fix the issue.

match-clients { any; };
match-destinations { any; };

So the that part of named will look like the following,

###################
view "external" {
/* This view will contain zones you want to serve only to "external" clients
* that have addresses that are not on your directly attached LAN interface subnets:
*/

match-clients { any; };
match-destinations { any; };

recursion no;
// you'd probably want to deny recursion to external clients, so you don't
// end up providing free DNS service to all takers

// all views must contain the root hints zone:
zone "." IN {
type hint;
file "/var/named/named.ca";
};

// These are your "authoritative" external zones, and would probably
// contain entries for just your web and mail servers:

// BEGIN external zone entries

STARTS the Zone entries here
############################

No comments:

Post a Comment