Thread: Bind9 + PPTPD - restrict DNS queries to VPN and LAN only
hi.
have bind9 dns server allow queries lan or vpn. how restrict lan only. if , connect vpn local network can not query dns because denies querys outside local. dns queries vpn shown in logs queries outside local network (the true ip being used instead of local). connecting many places home not comfortable add networks 'allowed' in dns server configuration. goal allow dns queries lan , vpn , restrict queries outside lan.
have idea how solve that? possible?
best regards, dawid.
named.conf:
code:options { directory "/var/cache/bind"; // if there firewall between , nameservers want // talk to, may need fix firewall allow multiple // ports talk. see http://www.kb.cert.org/vuls/id/800113 // if isp provided 1 or more ip addresses stable // nameservers, want use them forwarders. // uncomment following block, , insert addresses replacing // all-0's placeholder. forwarders { 195.66.144.2; 217.17.34.10; }; auth-nxdomain no; # conform rfc1035 listen-on-v6 { any; }; listen-on {any;}; # dns not answer queries vpn if restrict # here lan allow-query-cache {any;}; };
hi.
have tried, no luck. if add companies public ip acl 'vpn' can resolve names while connected work home. if using gprs each time have check current ip, add tp 'vpn' acl , connect using vpn. problem more like: how force pptpd traslate dns queries packets' ips local ips. thought if connected through vpn packets' ips translated local ips dns queries not.
if description confused let me know try write again , more clearly![]()
Forum The Ubuntu Forum Community Ubuntu Specialised Support Ubuntu Servers, Cloud and Juju Server Platforms [ubuntu] Bind9 + PPTPD - restrict DNS queries to VPN and LAN only
Ubuntu
Comments
Post a Comment