hi,
I am trying to add dns for internal machines in our existing primary
master dns.
My named.conf is as follows
options {
        directory "/var/named";
        // query-source address * port 53;
};


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

zone "0.0.127.in-addr.arpa" {
        type master;
        file "named.local";
};

zone "innomedia.soft.net" {
        type master;
        file "named.innomedia.soft.net.forward";
//named.innomedia.soft.net.forward contains entries for internal and
external ips.multi homed machines have multiple //records.
};

zone "79.164.164.in-addr.arpa" {
        type master;
        file "named.innomedia.soft.net.reverse";
//contains PTR records for external IPs
};


zone "1.168.192.in-addr.arpa" {
        type master;
        file "named.192.168.1.reverse";
//named.192.168.1.reverse contains PTR records for internal IPs
        allow-query { 164.164.79.128/26; 192.168.1.0/24; 192.168.2.0/24;
192.168.3.0/24; 192.168.4.0/24; localhost; };
};
    
The problem I am facing is that when I try to ping a (multi homed)
machine from outside the ping is done to  the internal ip which is not
possible.how do i prevent the dns from resolving to an internal ip when
a query comes from outside.I tried to restrict access to the reverse
zone file containing internal ips but that does not help.

Regards,
Dayalan


_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to