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

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

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

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

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.