LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices


Reply
  Search this Thread
Old 11-10-2004, 09:42 PM   #1
slack66
Member
 
Registered: Jul 2003
Location: manila
Distribution: slackware 8 to 9
Posts: 199

Rep: Reputation: 30
setting my own named server


hi

iam new too openbsd 3.6 and i want to setup a dns server of my own,
can any one teach me the right setup..... what configuration files can i edit and the right location will i put the files?? thks
 
Old 11-11-2004, 02:29 AM   #2
kxebs
LQ Newbie
 
Registered: Nov 2004
Distribution: FreeBSD, NetBSD, OpenBSD (all latest version, freebsd from 4.6)
Posts: 5

Rep: Reputation: 0
If you read the manpage of named then you can see what the default configuration file is.

And so far I know has FreeBSD the whole DNS server documented in it's handbook. You can use this documentation, but you'll have to keep in mind that some things could be different (I don't think it is much, but it's possible)
 
Old 11-11-2004, 03:30 AM   #3
chort
Senior Member
 
Registered: Jul 2003
Location: Silicon Valley, USA
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660

Rep: Reputation: 76
OpenBSD uses a heavily patched distribution of BIND. It's chroot'd to /var/named by default. Nothing else is really specific to OpenBSD, so it's just a matter of learning BIND (which is definintely not trivial). Search Google for BIND tutorials, since it's way too complicated to explain neatly in a single post.
 
Old 11-12-2004, 11:03 PM   #4
gani
Member
 
Registered: Jun 2004
Location: Metro Manila, Philippines
Distribution: Linuxmint, Slackware
Posts: 356

Rep: Reputation: 34
Hope these can help:

http://www.linuxquestions.org/questi...hreadid=244149

http://langfeldt.net/DNS-HOWTO/BIND-9/

I combined this howto with my Red Hat Linux adminstration book. I'm sure that howto will help you. Just be patient. I suggest that you print this whole howto and read it first. Learning is not always as easy as 1-2-3 and A-B-C.

The last link can easily be searched via google with "DNS HOWTO" key words.
 
Old 11-14-2004, 10:13 PM   #5
slack66
Member
 
Registered: Jul 2003
Location: manila
Distribution: slackware 8 to 9
Posts: 199

Original Poster
Rep: Reputation: 30
thk u! guys
this is my first time to setup bind and i hope it will work smoothly thks again

no guts! no glory!
 
Old 11-15-2004, 08:18 PM   #6
urlgrey
LQ Newbie
 
Registered: Nov 2004
Location: Los Angeles
Distribution: *BSD
Posts: 1

Rep: Reputation: 0
DNS things easily overlooked...

If you're using pf, remember to open port 53 UDP if you intend to serve DNS (either as a SOA or as a resolver) for others outside your network; if you intend to allow zone transfers, you'll likely need to open 53 TCP, too.

Aside from that, getting DNS to run as a resolver is cake . Just change the NO to "" in /etc/rc.conf, and bind will start automatically on reboot. If you want to be a SOA for domain(s), the links the prior user recommended are great places to start IMHO.

Good luck!
 
Old 11-15-2004, 08:52 PM   #7
chort
Senior Member
 
Registered: Jul 2003
Location: Silicon Valley, USA
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660

Rep: Reputation: 76
You need to open up 53/TCP regardless of whether you're going to offer zone transfers. It's an extremely common misconception about DNS that only zone transfers use TCP. In fact, the DNS protocol will fall back to TCP if the information being transferred is too large for a single UDP datagram.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Configure named server DanielTan Linux - Software 10 10-12-2005 09:32 AM
named works only on the server psc Linux - Networking 1 10-18-2004 05:41 AM
Mandrake 9.2 Computer named after Samba Server bopo119 Linux - Networking 1 04-06-2004 12:38 AM
apache 2 named virtual servers : server path djbar Linux - Networking 0 03-21-2004 10:05 AM
Virtual Host type, named or IP via SSL? Named VH is not possible? piratebiter Linux - Security 3 08-20-2003 05:27 PM

LinuxQuestions.org > Forums > Other *NIX Forums > *BSD

All times are GMT -5. The time now is 03:13 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration