Going from bind9 to djbdns
vaaf at broadpark.no
Thu Dec 29 08:55:30 PST 2005
My friend, who hosts most of my stuff, is using djbdns. Probably for security and simplicity.
Anyway I thought I'd do the same. But I'm having serious difficulties finding a user-friendly howto.
I've basically picked stuff from here and there and put them together.
Would this be what I need to set up a djbdns equivalent to http://www.home.no/hedhnta/namedb?
Run these commands:
Should the above directories be set as home for the users above?
dnscache-conf dnscache dnslog /etc/dnscache 127.0.0.1
echo 127.0.0.1 > /etc/dnscache/root/servers/mydomain.lan
echo 127.0.0.1 > /etc/dnscache/root/servers/187.168.192.in-addr.arpa
tinydns-conf tinydns dnslog /etc/tinydns 18.104.22.168
axfrdns-conf axfrdns dnslog /etc/axfrdns /etc/tinydns 22.214.171.124
ln -s /etc/dnscache /service
ln -s /etc/tinydns /service
svc -t /service/dnscache
Would djbdns now have created this file for me?
If so, can I skip this? If not, I take it I should:
And type in:
To allow my 126.96.36.199 to be ns2.mydomain.com, I must do this?
And then type in:
I have a lot of domains. I want the ns2 to handle them all.
Is the wildcard "*" valid, or should I list them all?
As for my zone files, I take it I could cram all my domains into the data file?
How would that look?
I'm hoping that once everything is up, my configuration will be stored in files
that I can back up and easily redeploy incase of an accident (similar to my current
namedb setup I posted above).
Thank you all, and happy new year!
More information about the freebsd-questions