0

Hello friends,
I ran the following code on freebsd 5.5
/usr/sbin/named -u bind -g bind -c /etc/namedb/named-lan.conf
/usr/sbin/named -u bind -g bind -c /etc/namedb/named-internet.conf

I want to run two instances of bind to see my website both on the lan and the internet but here is the problem, I says to many arguments in my syntax. Is their something I missed out, like spacing etc.
Please give me some professional heads up.

Thnaks

2
Contributors
2
Replies
3
Views
9 Years
Discussion Span
Last Post by zoid777
0

I think it's because you have "bind" in there twice.

Try /usr/sbin/named -u bind -g -c /etc/namedb/named-lan.conf

0

Linux many thanks, at least it ran, but with a couple of errors
www# /usr/sbin/named -u bind -g -c
/etc/namedb/named-internet.conf
28-Feb-2008 06:01:41.738 starting BIND 9.3.2 -u bind
-g -c /etc/namedb/named-internet.conf
28-Feb-2008 06:01:41.742 loading configuration from
'/etc/namedb/named-internet.conf'
28-Feb-2008 06:01:41.742 listening on IPv4 interface
lnc0, 172.21.144.32#1053
28-Feb-2008 06:01:41.745 none:0: open:
/etc/namedb/rndc.key: file not found
28-Feb-2008 06:01:41.745 couldn't add command channel
127.0.0.1#953: file not found
28-Feb-2008 06:01:41.746 none:0: open:
/etc/namedb/rndc.key: file not found
28-Feb-2008 06:01:41.746 couldn't add command channel
::1#953: file not found
28-Feb-2008 06:01:41.746 ignoring config file logging
statement due to -g option
28-Feb-2008 06:01:41.746 couldn't open pid file
'/var/run/named.pid': Permission denied
28-Feb-2008 06:01:41.746 exiting (due to early fatal error)

that rndc.key how do I configure it or create my own

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.