Re: named always binds to "*"
that didn't do it. I meant to include this with my first post, but forgot to. I just now noticed that it's udp6, not udp4, so I'm recompiling with --disable-ipv6 [EMAIL PROTECTED] ~]$ sockstat | grep "\*:[0-9]" bind named 89293 23 udp6 *:58084 *:* On 5/19/06, Fremlins <[EMAIL PROTECTED]> wrote: Andy Greenwood wrote: > I'm trying to set up my first jail, and I've got the below named.conf. > However, even with the query-source line below, it always binds to the > wildcard address! Anyone seen this behavior before and what can I do > to fix it? Yes, add the following under options: listen-on port 53 { 192.168.1.1; }; > // Specify the subnets we're going to serve > acl homenet { 192.168.0.0/16; } ; > options { > directory "/etc/namedb"; > allow-query { homenet; }; > listen-on { 192.168.1.1; }; > query-source address 192.168.1.1; > }; Frem. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: named always binds to "*"
Oh, sorry. You already have that. It should work. It does for me. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: named always binds to "*"
Andy Greenwood wrote: I'm trying to set up my first jail, and I've got the below named.conf. However, even with the query-source line below, it always binds to the wildcard address! Anyone seen this behavior before and what can I do to fix it? Yes, add the following under options: listen-on port 53 { 192.168.1.1; }; // Specify the subnets we're going to serve acl homenet { 192.168.0.0/16; } ; options { directory "/etc/namedb"; allow-query { homenet; }; listen-on { 192.168.1.1; }; query-source address 192.168.1.1; }; Frem. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
named always binds to "*"
I'm trying to set up my first jail, and I've got the below named.conf. However, even with the query-source line below, it always binds to the wildcard address! Anyone seen this behavior before and what can I do to fix it? // Specify the subnets we're going to serve acl homenet { 192.168.0.0/16; } ; options { directory "/etc/namedb"; allow-query { homenet; }; listen-on { 192.168.1.1; }; query-source address 192.168.1.1; }; // Provide reverse mapping for the loopback IP zone "0.0.127.in-addr.arpa" { type master; file "localhost.rev"; notify no; }; When I execute named -u bind -fg I get this [EMAIL PROTECTED] ~]$ named -u bind -fg 19-May-2006 08:28:11.570 starting BIND 9.3.1 -u bind -fg 19-May-2006 08:28:11.583 loading configuration from '/etc/namedb/named.conf' 19-May-2006 08:28:11.586 listening on IPv4 interface dc1, 192.168.1.1#53 19-May-2006 08:28:11.591 none:0: open: /etc/namedb/rndc.key: file not found 19-May-2006 08:28:11.592 couldn't add command channel 127.0.0.1#953: file not found 19-May-2006 08:28:11.592 none:0: open: /etc/namedb/rndc.key: file not found 19-May-2006 08:28:11.592 couldn't add command channel ::1#953: file not found 19-May-2006 08:28:11.592 ignoring config file logging statement due to -g option 19-May-2006 08:28:11.594 zone 0.0.127.in-addr.arpa/IN: loading master file localhost.rev: file not found 19-May-2006 08:28:11.596 running ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"