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

    • A shame it don't allow people to bypass the MS account, I will stick to using Rufus.
    • Microsoft about to radically change how often your Edge browser updates by Paul Hill Microsoft has just announced that starting with Edge 152, it will be moving to a two-week release cycle for faster, smaller updates. This faster release cadence will begin on August 27. This change comes just several months after Microsoft switched Visual Studio Code to weekly updates. The company said that the Extended Stable releases will remain on an eight-week cycle and that no admin changes are needed to experience the faster release cycle on the Stable channel. The new two-week release cycle will enable the faster delivery of security updates and platform improvements, all while reducing the size and complexity of individual updates. Microsoft claims that organizations will benefit from this change as it offers predictable validation cycles. For organizations that prefer a “more deliberate pace”, the Extended Stable channel remains an option. This change will affect Edge Stable releases on Windows, macOS, Linux, and mobile. The Extended Stable channel will continue to be updated every eight weeks, or every fourth Stable release, for example: versions 152, 156, 160, and 164. The Extended Stable could be a good option for organizations that don’t want the latest updates twice a month and don’t want as much hassle constantly updating browsers. In the case of Visual Studio Code, many of the updates being pushed by Microsoft are AI-related. As we all know, Microsoft Edge has a lot of AI features, so we could see Microsoft pushing more AI, thanks to the faster cycles. On the flip side, quicker releases could mean faster security updates, which is beneficial in a world where AI systems are hunting for software exploits. What do you think? Let us know in the comments. For more updates on Edge, be sure to follow Neowin's coverage. In May alone, we reported on Edge offering in-browser pop-ups to assist users with website compatibility issues, that Edge was losing Copilot Mode, and that Microsoft had fixed a plain-text password bug in Edge. Source: Microsoft 365 Admin Center
    • not yet, because at the moment it is not a threat to MS, if and I mean if it did become a threat to MS Office, then it may be a different thing. MS don't like competition
    • Zen Browser 1.21b by Razvan Serea Zen Browser is a privacy-focused, open-source web browser built on Mozilla Firefox, offering users a secure and customizable browsing experience. It emphasizes privacy by blocking trackers, ads, and ensuring your data isn't collected. With Zen Mods, users can enhance their browser experience with various customization options, including features like split views and vertical tabs. The browser is designed for efficiency, providing fast browsing speeds and a lightweight interface. Zen Browser prioritizes user control over the browsing experience, offering a minimal yet powerful alternative to traditional web browsers while keeping your online activity private. Zen Browser’s DRM limitation Zen Browser currently lacks support for DRM-protected content, meaning streaming services like Netflix and HBO Max are inaccessible. This is due to the absence of a Widevine license, which requires significant costs and is financially unfeasible for the developer. Additionally, applying for this license would require Zen to be part of a larger company, similar to Mozilla or Brave. Therefore, DRM-protected media won't be supported in Zen Browser for the foreseeable future. Zen Browser offers features that improve user experience, privacy, and customization: Privacy-Focused: Blocks trackers and minimizes data collection. Automatic Updates: Keeps the browser updated with security patches. Zen Mods: Customizable themes and layouts. Workspaces: Organize tabs into different workspaces. Compact Mode: Maximizes screen space by minimizing UI elements. Zen Glance: Quick website previews. Split Views: View multiple tabs in the same window. Sidebar: Access bookmarks and tools quickly. Vertical Tabs: Manage tabs vertically. Container Tabs: Separate browsing sessions. Fast Profile Switcher: Switch between profiles easily. Tab Folders: Organize tabs into folders. Customizable UI: Personalize browser interface. Security Features: Inherits Firefox’s robust security. Fast Performance: Lightweight and optimized for speed. Zen Mods Customization: Deep customization with mods. Quick Access: Easy access to favorite websites. Open Source: Built on Mozilla Firefox with community collaboration. Community-Driven: Active development and feedback from users. GitHub Repository: Contribute and review the source code. Zen Browser 1.21b changelog: New Features Updated to Firefox 151.0.4 Added 'Space Routing', a new feature that allows you to route links to a specific Space. To get started, click on the three dots in your Space name and click on 'Space Routing Settings'. Fixes Fixed extension-opened tabs not being created with the correct container (#14100) Fixed a bug with the Boosts editor having the wrong theme colors (#14099) Improved overflowing space icons being inaccessible and improved the feeling when hovering over them (#13747) Other minor bug fixes and improvements Download: Zen Browser | 89.8 MB (Open Source) Download: Zen Browser ARM64 | Other Operating Systems View: Zen Browser Home Page | Screenshots 1 | 2 | Reddit Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • I am currently using a 4tb stick in combination with a 4tb 9100 Pro. It's only been six months since I bought them but the 990 has already dropped 1% health. Fingers crossed it doesn't go any lower.
  • Recent Achievements

    • Week One Done
      davidbazooked earned a badge
      Week One Done
    • One Month Later
      Jamswaz earned a badge
      One Month Later
    • Week One Done
      Jamswaz earned a badge
      Week One Done
    • Rookie
      Marzoid went up a rank
      Rookie
    • Community Regular
      coch went up a rank
      Community Regular
  • Popular Contributors

    1. 1
      +primortal
      514
    2. 2
      PsYcHoKiLLa
      185
    3. 3
      +Edouard
      159
    4. 4
      Steven P.
      83
    5. 5
      ATLien_0
      75
  • Tell a friend

    Love Neowin? Tell a friend!