d725
![]() |
|
|
|
|
|||||||
| Web & Network Services Discussion related to network/web services such as apache, bind, sendmail, etc. |
![]() |
|
|
Thread Tools | Display Modes |
|
#2
|
|||
|
|||
|
Hi octavian,
Have you done anything yet? or you've tried and it's not working? Surely after reading you should have attempted to create the zone files and configure BIND on your server? If so please provide the error. |
|
#3
|
||||
|
||||
|
There are a zillion and one tutorials on the internet covering BIND. What exactly are you having problems with?
__________________
Senior UNIX Engineer at Unix Support Nederland Experience is something you don't get until just after you need it. |
|
#4
|
|||
|
|||
|
Code:
//
// Refer to the named.conf(5) and named(8) man pages, and the documentation
// in /usr/share/doc/bind9 for more details.
//
options {
// All file and path names are relative to the chroot directory,
// if any, and should be fully qualified.
directory "/etc/namedb/working";
pid-file "/var/run/named/pid";
dump-file "/var/dump/named_dump.db";
statistics-file "/var/stats/named.stats";
listen-on { 10.0.0.50; 127.0.0.1; };
// query-source address * port NNNNN;
forwarders {
8.8.8.8;
};
};
// Internal View
view "internal" {
match-clients { 10.0.0.0/24; 127.0.0.1; }; // LOCAL NETWORK
zone "." { type hint; file "/etc/namedb/named.root"; };
zone "1.168.192.in-addr.arpa" {
type master;
file "/etc/namedb/working/internal/1.168.192.in-addr.arpa";
};
zone "splintercomm.net" {
type master;
file "/etc/namedb/working/internal/splintercomm.net";
};
};
Last edited by SirDice; August 10th, 2012 at 07:57. Reason: Read about formatting tags: http://forums.freebsd.org/misc.php?do=bbcode |
| The Following User Says Thank You to octavian7896 For This Useful Post: | ||
marry1 (August 10th, 2012) | ||
|
#5
|
|||
|
|||
|
Post your zone files as well, blank out any sensitive information if you must.
Does this return a NOERROR status and the SOA record of the zone? # dig @127.0.0.1 splintercomm.net SOAI would move the zone files to /etc/namedb/master, the working directory is not meant for zone files. |
|
#6
|
||||
|
||||
|
At first glance your named.conf looks fine. As kpa mentions move your zone files to /etc/namedb/master. It should still work regardless but that's a better directory for them.
__________________
Senior UNIX Engineer at Unix Support Nederland Experience is something you don't get until just after you need it. |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Mapping domain | hainguyen1402 | Web & Network Services | 13 | May 26th, 2011 11:49 |
| Samba Bind To Domain | qwaven | Web & Network Services | 3 | December 14th, 2010 17:55 |
| Need help hosting my domain... | romihs | Web & Network Services | 5 | May 3rd, 2010 03:00 |
| If you can have any domain name... ? | stevejones | Off-Topic | 3 | February 3rd, 2010 19:49 |
| Bind 9.4.2 on Freebsd 6.3 reverts to Bind 9.3.4 | ITFCTECH | Web & Network Services | 4 | November 21st, 2008 17:17 |