[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Set up headless Bubba Two for Bind9 nameserver



Hi,

I have had setup my Bubba headless PC Box following these steps:
http://forums.debian.net/viewtopic.php?f=5&t=66329&p=380805#p380805

Now I'm trying to setup bind9 on my bubba server, but without any success.

What I did:
* Installing and setting up bind9

aptitude install bind9

mcedit /etc/default/bind9
# run resolvconf?
RESOLVCONF=no

# startup options for the server
OPTIONS="-u bind"

----<

mcedit /etc/resolv.conf

In the first line there must be:
nameserver 127.0.0.1
nameserver 91.102.231.242
nameserver 91.102.231.241

----<

/etc/init.d/bind9 restart

Verifying:
netstat -tunlp
Print network connections: tcp, udp, numeric, listening, program

Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         
State       PID/Program name
tcp        0      0 192.168.10.1:53         0.0.0.0:*               
LISTEN      8287/named      
tcp        0      0 95.85.168.212:53        0.0.0.0:*               
LISTEN      8287/named      
tcp        0      0 127.0.0.1:53            0.0.0.0:*               
LISTEN      8287/named      
tcp        0      0 127.0.0.1:953           0.0.0.0:*               
LISTEN      8287/named

It's good because the 127.0.0.1 is my Bind9 server.

Is it working?

aptitude install dnsutils

dig debian.org

A lot of lines but the line that contain the word SERVER is important 
now, because that must to show 127.0.0.1 !
;; Query time: 5 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)

However I was run the last command 'dig debian.org' from my bubba server.

In the same time from my LAN I can't even ping www.google.com, but only 
ping 74.125.91.99

Any advices will be appreciated!

-- 
Regards, Paul
<http://csanyi-pal.info>


Reply to: