BIND9


Recommended Posts

Hi Guys,

Just recently switch my home server from Win2K3 to Ubuntu. So far I am very happy with it, the only outstanding issue appears to be with the reverse lookup zone. Maybe a BIND guru here can help me out and spot the issue.

This is the first time i've configured BIND - been using guides on the internet s go easy on me :)

named.conf

// This is the primary configuration file for the BIND DNS server named.
//
// Please read /usr/share/doc/bind9/README.Debian.gz for information on the 
// structure of BIND configuration files in Debian, *BEFORE* you customize 
// this configuration file.
//
// If you are just adding zones, please do that in /etc/bind/named.conf.local

include "/etc/bind/named.conf.options";

// prime the server with knowledge of the root servers
zone "." {
	type hint;
	file "/etc/bind/db.root";
};

// be authoritative for the localhost forward and reverse zones, and for
// broadcast zones as per RFC 1912

zone "localhost" {
	type master;
	file "/etc/bind/named.conf.local";
};

zone "127.in-addr.arpa" {
	type master;
	file "/etc/bind/db.127";
};

zone "0.in-addr.arpa" {
	type master;
	file "/etc/bind/db.0";
};

zone "255.in-addr.arpa" {
	type master;
	file "/etc/bind/db.255";
};

include "/etc/bind/named.conf.local";

named.conf.local

//
// Do any local configuration here
//

// Consider adding the 1918 zones here, if they are not used in your
// organization
//include "/etc/bind/zones.rfc1918";

zone "rrsj.lan" {
type master;
file "/etc/bind/zones/rrsj.lan.db";
};

zone "254.16.172.in-addr.arpa" {
type master;
file "/etc/bind/zones/rev.254.16.172.in-addr.arpa";
};

rrsj.lan.db

rrsj.lan. IN SOA ns1.rrsj.lan. rrsj-fs-01.rrsj.lan. (

2006081401
28800
3600
604800
38400 )

rrsj.lan. IN NS ns1.rrsj.lan.
IN A 172.16.254.20

rrsj-mac-02	IN	A	172.16.254.40
rrsj-epc-01	IN	A	172.16.254.35
rrsj-lt-02	IN	A	172.16.254.25
rrsj-fs-01	IN	A	172.16.254.20
rrsj-lt-01	IN	A	172.16.254.15
rrsj-mac-01	IN	A	172.16.254.10
rrsj-gw-02	IN	A	172.16.254.5

rev.254.16.172.in-addr.arpa

@ IN SOA rrsj.lan. rrsj-fs-01.rrsj.lan. (
2006081401
28800
604800
604800
86400 )

IN NS ns1.rrsj.lan.
20 IN PTR rrsj.lan.

5 IN PTR rrsj-gw-01.rrsj.lan.
10 IN PTR rrsj-mac-01.rrsj.lan.
15 IN PTR rrsj-lt-01.rrsj.lan.
20 IN PTR rrsj-fs-01.rrsj.lan.
25 IN PTR rrsj-lt-02.rrsj.lan.
30 IN PTR SPARE.rrsj.lan.
35 IN PTR rrsj-epc-01.rrsj.lan.
40 IN PTR rrsj-mac-02.rrsj.lan.

Forward resolution works fine. However when I do an nslookup on an IP from my Mac I get the below (similar errors come from other boxes)

RRSJ-MAC-01:~ srockett$ nslookup 172.16.254.10
;; Got SERVFAIL reply from 172.16.254.20, trying next server
;; Got SERVFAIL reply from 172.16.254.20, trying next server
Server:		172.16.254.5
Address:	172.16.254.5#53

** server can't find 10.254.16.172.in-addr.arpa: SERVFAIL

EDIT: semicolons removed from reverse lookup conf file.

Edited by Rockett15
Link to comment
https://www.neowin.net/forum/topic/641677-bind9/
Share on other sites

Um did you restart bind after the change?? Ok what guide are you reading?? Yeah there was more wrong than just that -- here I just redid the zone files for you.. these work!

post-14624-1212931498.jpg

@	IN SOA	ns1.rrsj.lan.	hostmaster.rrsj.lan. (
			2008060801
			10800
			3600
			604800
			86400 )

@		NS	ns1.rrsj.lan.

ns1			IN A 172.16.254.20
rrsj-mac-02	IN A 172.16.254.40
rrsj-epc-01	IN A 172.16.254.35
rrsj-lt-02	IN A 172.16.254.25
rrsj-lt-01	IN A 172.16.254.15
rrsj-mac-01	IN A 172.16.254.10
rrsj-gw-02	IN A 172.16.254.5

@	IN SOA	ns1.rrsj.lan.	hostmaster.rrsj.lan. (
			2008060801
			10800
			3600
			604800
			86400 )

@		NS	ns1.rrsj.lan.

20	IN PTR ns1.rrsj.lan.
5	IN PTR rrsj-gw-01.rrsj.lan.
10	IN PTR rrsj-mac-01.rrsj.lan.
15	IN PTR rrsj-lt-01.rrsj.lan.
25	IN PTR rrsj-lt-02.rrsj.lan.
35	IN PTR rrsj-epc-01.rrsj.lan.
40	IN PTR rrsj-mac-02.rrsj.lan.

It looked like your ns1 was .20 ?? Just adjust hosts as needed, remember to up your serial number on changes, etc.

Please post to the guide your reading -- I want to take a look ;)

Link to comment
https://www.neowin.net/forum/topic/641677-bind9/#findComment-589465654
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • Close, but it is for any application starting, not just during boot time. In fact, it probably will not improve boot time at all because during a boot, the CPU is already boosting, so a pre-boost wouldn't change anything. I agree that it isn't exciting (especially considering every other OS already does it), but it is a good thing, even if they are just playing catch up.
    • Any so called performance increase will be in milliseconds, which nobody will actually notice in real world usage.
    • All it does is use the CPU more efficiently during boot to speed up boot times. That's it. Yawn....
    • It's not a one or the other kind of thing. Software should run efficiently, and the operating system should appropriately manage the CPU clocks. You could have the best most optimized software on earth, and it will still run faster if the CPU does a better job of boosting as needed. All this is doing is pre-boosting the CPU based on user actions, instead of waiting for the normal detection mechanism to kick in. If the OS knows it is about to need more CPU, why shouldn't it use that knowledge? It's the same idea of downshifting before passing someone, instead of just burying your foot into the peddle and waiting for the transmission to figure out what you want to do.
    • Audacity 3.7.8 by Razvan Serea Audacity is a free, open source digital audio editor and recording application. Edit your sounds using cut, copy, and paste features (with unlimited undo functionality), mix tracks, or apply effects to your recordings. The program also has a built-in amplitude-envelope editor, a customizable spectrogram mode, and a frequency-analysis window for audio-analysis applications. Built-in effects include bass boost, wah wah, and noise removal, and the program also supports VST plug-in effects. You can use Audacity to: Record live audio. Record computer playback on any Windows Vista or later machine. Convert tapes and records into digital recordings or CDs. Edit WAV, AIFF, FLAC, MP2, MP3 or Ogg Vorbis sound files. AC3, M4A/M4R (AAC), WMA and other formats supported using optional libraries. Cut, copy, splice or mix sounds together. Numerous effects including change the speed or pitch of a recording. Write your own plug-in effects with Nyquist. And more! See the complete list of features. Audacity 3.7.8 changelog: #10688 Fixed an exception thrown when pasting into a newly-created track (Thanks, David Bailes (@DavidBailes)!) #10870, #10884, #10775, #10629 Fixed tone generation, waveform-scale setting, SetClip Name parameter, and clip-boundary command names for scripting and macros (Thank you, David Bailes (@DavidBailes)!) #11106 Fixed the loading of presets for the Distortion effect (A million thanks, David Bailes (@DavidBailes)!) #10947 Fixed paste into an empty audio track not preserving the source sample rate (Thanks, Juan Gabriel Colonna (@juancolonna)!) #10776 Allowed AltGr modifier in label and clip name editing (Thanks, Davide Peressoni (@DPDmancul)!) #9938 Added options to choose where silence is truncated (start/middle/end) (Thanks, Noah Rosenfield (@nosenfield)!) #9935 Added Podcast 2.0 chapters JSON export for label tracks (Thanks, Noah Rosenfield (@nosenfield)!) #10103 Improve UI on HiDPI displays on Linux/wxGTK (Thanks, Ivan A. Melnikov (@iv-m)!) #10099 Fixed MixerBoard Mute and Solo button display (Thanks, Ivan A. Melnikov (@iv-m)!) #10681 Fixed multichannel FLAC import #10999 Fixed envelope being broken after joining clips Download: Audacity 64-bit | Standalone ~20.0 MB (Open Source) Download: Audacity 32-bit | Standalone Download: Audacity ARM64 | Standalone View: Audacity Home Page | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
  • Recent Achievements

    • One Year In
      slackerzz earned a badge
      One Year In
    • One Year In
      highriskpaym earned a badge
      One Year In
    • One Month Later
      highriskpaym earned a badge
      One Month Later
    • Week One Done
      highriskpaym earned a badge
      Week One Done
    • Week One Done
      FBSPL earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      500
    2. 2
      PsYcHoKiLLa
      198
    3. 3
      +Edouard
      155
    4. 4
      Steven P.
      84
    5. 5
      ATLien_0
      71
  • Tell a friend

    Love Neowin? Tell a friend!