Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Apr 2008 10:13:25 +0100
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        Ruel Luchavez <ruel.freebsd@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: DNS server Problem
Message-ID:  <48032035.3030300@infracaninophile.co.uk>
In-Reply-To: <ee9dc2b40804140202w5f7955b1t15e601df358d4d83@mail.gmail.com>
References:  <ee9dc2b40804140202w5f7955b1t15e601df358d4d83@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160

Ruel Luchavez wrote:
> Hi,
> 
> I have BIND DNS Server in my freebsd, i keep on searching in google on how
> to restart it?
> is there a command to restart it like the squid and dhcp? or there is no
> command for it?

That is somewhat different to what you've asked about previously.  You
don't say if you're running the base system version of BIND or one from
ports.

In the former case, you can do:

  /etc/rc.d/named restart

In the latter case, that command should still work, but may not depending
on how it was all set up.  (The bind94 port doesn't come with its own rc
script -- I believe the expectation is that you should use the system script
by setting variables in /etc/rc.conf appropriately)

In either case you should be able to do:

  rndc reload 

so long as you've properly set up /etc/namedb/rndc.conf or /etc/namedb/rndc.key

	Cheers,

	Matthew

- -- 
Dr Matthew J Seaman MA, D.Phil.                       Flat 3
                                                      7 Priory Courtyard
PGP: http://www.infracaninophile.co.uk/pgpkey         Ramsgate
                                                      Kent, CT11 9PW, UK
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.8 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEAREDAAYFAkgDIDUACgkQ3jDkPpsZ+VbMBQCfXxg/zVy3A3WkIFkkCwaaFPBX
UDkAoLVno5AyqfbcBqa9lA/J1IJn+2Iv
=9bI5
-----END PGP SIGNATURE-----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?48032035.3030300>