Bind9 DNS zones

Don´t be shy, Linux is fun! =)
Post Reply
User avatar
visser
Fame ! Where are the chicks?!
Fame ! Where are the chicks?!
Posts: 472
Joined: 03 Apr 2007, 16:00
17
Location: online
Contact:

Bind9 DNS zones

Post by visser »

ok so ive been looking around a little trying to learn how to add some zones to my dns server on ubuntu hardy heron server.

ive looked around google and havnt found anything that looks very solid. Some look like they might work and others i just dont know. figured i would check back with you guys. Any protips? thanks in advance!

User avatar
ayu
Staff
Staff
Posts: 8109
Joined: 27 Aug 2005, 16:00
18
Contact:

Post by ayu »

just woke up so my head is kinda slow, but I found some info that you could use until either someone else writes you a how to, or until I have gotten something to eat ^^

If you want to jump right to adding zones, you can read this

zones: http://www.howtoforge.com/traditional_dns_howto_p2

and this

zone file: http://www.howtoforge.com/traditional_dns_howto_p3

but if you feel like starting from the beginning which is almost recommended, you should go here, and follow the pages.

http://www.howtoforge.com/traditional_dns_howto
"The best place to hide a tree, is in a forest"

User avatar
visser
Fame ! Where are the chicks?!
Fame ! Where are the chicks?!
Posts: 472
Joined: 03 Apr 2007, 16:00
17
Location: online
Contact:

Post by visser »

awesome thanks a bunch cats. ill def go over that entire thing. a tutorial would be awesome aswell. whatever would be great dude. thanks!

User avatar
bad_brain
Site Owner
Site Owner
Posts: 11636
Joined: 06 Apr 2005, 16:00
19
Location: In your eye floaters.
Contact:

Post by bad_brain »

check this one: http://www.langfeldt.net/DNS-HOWTO/BIND-9/

bind is a little tricky in context with security, of course it's not that dangerous when running it on a home server that is not online 24/7, but you might also have a look at this:
http://tldp.org/HOWTO/Chroot-BIND-HOWTO.html

:wink:

User avatar
visser
Fame ! Where are the chicks?!
Fame ! Where are the chicks?!
Posts: 472
Joined: 03 Apr 2007, 16:00
17
Location: online
Contact:

Post by visser »

awesome BB i think that will probably about do everything i need ha ha. thanks so much for the help guys. if i have any troubles ill just edit this post asking for more help.

thanks again!



EDIT: i was looking at those links you sent me BB. i think i may be on the edge of something lol

heres what that explanation says. it shows me a zone file and defines some basic stuff in it. im trying to disect it and this is how im reading it. first ill show the file lol
; Zone file for linux.bogus
;
; The full zone file
;
$TTL 3D
@ IN SOA ns.linux.bogus. hostmaster.linux.bogus. (
199802151 ; serial, todays date + todays serial #
8H ; refresh, seconds
2H ; retry, seconds
4W ; expire, seconds
1D ) ; minimum, seconds
;
NS ns ; Inet Address of name server
MX 10 mail.linux.bogus ; Primary Mail Exchanger
MX 20 mail.friend.bogus. ; Secondary Mail Exchanger
;
localhost A 127.0.0.1
ns A 192.168.196.2
mail A 192.168.196.4
ns.linux.bogus is the server with an ip of 192.168.196.2
mail.linux.bogus is the mail server with an ip of 192.168.196.4


the thing im missing is... whats the ip of linux.bogus? if it isnt defined i can see that. but how would i define it to be something?

User avatar
bad_brain
Site Owner
Site Owner
Posts: 11636
Joined: 06 Apr 2005, 16:00
19
Location: In your eye floaters.
Contact:

Post by bad_brain »

depends, it's the where the services are located...if they all run on your local system (I assume they do) you have to enter the hostname of your box...to check it (in Linux) simply enter hostname
also make sure to have the proper names set in /etc/hosts
:wink:

Post Reply