DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Packages and Ports

OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 22nd July 2022
mururoa mururoa is offline
Fdisk Soldier
 
Join Date: May 2008
Posts: 50
Default named (bind9) configuration

Hi there,
I'm an experimented Unix sysadmin but pretty new to OpenBSD.
I'm trying to configure bind9 as slave but with mixed results.
First I dont see any named or bind service in /etc/rc.d so I cant enable or start it with rcctl.
I read somewhere that it's enough to put
Code:
named_flags=""
in /etc/rc.conf.local but that dont work for me. So I tried
Code:
named_flags="-t /var/named/ -u _bind"
with same results.
Ok ok, nothing usefull in man either.
Not found any OpenBSD 7.1 manual like you can find for FreeBSD either.
My named config is maybe no perfect but if I start it manually with
Code:
named -t /var/named/ -u _bind -g
then it's running and clients can get response from the server.
The server is a slave and communication with the master (FreeBSD) is ok.
So, how to configure named so it can start on boot ?
Reply With Quote
  #2   (View Single Post)  
Old 22nd July 2022
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,977
Default

When you install the isc-bind package, the rc.d(8) daemon script that gets installed is called "isc_named". I found this with $ pkg_info -L isc-bind.
Reply With Quote
  #3   (View Single Post)  
Old 23rd July 2022
mururoa mururoa is offline
Fdisk Soldier
 
Join Date: May 2008
Posts: 50
Default

Yes, I've found that with ls -ltr /etc/rc.d later.
Now it start @boot ok.
zones are transfered ok from FreeBSD master.
I guess I have just some tweaks to do to get a good configuration for bind.
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Trying out the new OS/2 named ArcaOS gpatrick Other OS 9 23rd May 2018 12:45 PM
Another Free Ruby Book named ...... qmemo Programming 0 26th January 2011 12:41 AM
simple named.conf with dnssec ? mayuka OpenBSD Security 21 31st January 2010 09:47 PM
Alternatives for Bind9? windependence FreeBSD Ports and Packages 16 27th June 2009 11:42 AM
setup rndc for BIND9 ccc General software and network 1 24th June 2009 11:46 AM


All times are GMT. The time now is 07:16 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick