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

    • Wow, imagine you dump hundreds of hours into completing things and unlocking stuff and you lose it all. Back in the day when cheats were built into games, you could at least unlock things again that way without spending hundreds of hours again. But those days are long gone for some reason as no one builds cheats into games anymore. So it's even more painful that studio that's on its 6th installment **** it up so badly.
    • Spotify finally removes the disco ball app icon in the latest update by Ivan Jenic Image: Spotify Spotify has just released an update that removes its now infamous disco ball icon. The update reverts the app icon to the familiar flat green logo after weeks of mixed reactions online. The icon arrived on May 13 as part of the company's 20th anniversary celebration and was always intended to be temporary, though Spotify only confirmed that after the backlash started. The disco ball took the internet by storm, as the reception was split. A vocal group of users called it ugly and disorienting, with some iOS users noting that the 3D glowing effect made the app look like it was stuck mid-update. On the other end, the icon picked up a following of its own. Its retro, three-dimensional look immediately stood out against the flat, minimalist aesthetic that has dominated app design for years. It even started a small movement, spawning what people started calling "discomorphism," a mashup of disco and skeuomorphism. Other brands started posting disco ball versions of their own logos, probably in an effort to ride the wave of memes that flooded the internet during late May. Spotify has had a turbulent relationship with its user base lately. Besides the disco ball icon, which certainly wasn't appreciated by everyone, the company has also received backlash for its willingness to include AI-generated music on its platform. On May 17, Spotify promised the old icon would return “in a few weeks.” And now it looks like that time has finally arrived. So, whether you liked the disco ball or it made you uncomfortable, it’s now gone for good. The next time you update the Spotify app on your phone, the old, flat-design icon will return.
    • Playground Games confirms Forza Horizon 6 save wipe bug by Taras Buria Forza Horizon 6 was launched last month to critical acclaim (check out our review here), and it became a smash hit in an instant. Now, weeks into the launch, with die-hard fans clocking hundreds of hours, Forza Horizon 6 is facing a serious issue: save wipes. After multiple complaints on Reddit and social media, the studio issued a statement. The problem with missing saves came shortly after Playground Games promised the initial batch of gameplay tweaks and improvements. Unfortunately, there seems to be no temporary fixes for those affected by unexpected save wipes. However, the studio published a new support document with a few important steps users should try. First, affected gamers should open a support ticket immediately (go here to file one) so that the support team can try recovering the lost progress by reverting to an earlier save. Playground Games says this should be done the same day the issue occurs. Meanwhile, gamers are urged not to start new play sessions or create new saves. The studio also published a few things gamers should try to avoid to prevent potential progress loss: Ensure your Gaming Services app on PC or XBOX Series X|S console is fully up to date. On XBOX Series X|S consoles, disable Quick Resume for Forza Horizon 6: To disable Forza Horizon 6 from using Quick Resume, highlight the game box art anywhere in the console experience (Home, My Games & Apps, Pins, etc) and then press the Menu button, then go to Manage game and add-ons > Quick Resume settings > Disable Quick Resume. Ensure you are online when ‘quitting’ the game. Give your saved time to sync to the cloud before powering off or switching devices. Do not force quit the game during save screens. Do not power off the device during gameplay. Always "Quit" (console) or "Exit to desktop" (PC) once you've finished your play session, ensuring the save icon is not visible when you’re closing the game. Before turning off your console, shutting down your PC, or force-closing the Steam app, give your devices or clients at least a few minutes to ensure your latest progress has been synchronized with the cloud. This will reduce the risk of progress reversions as you switch between different platforms. XBOX Series X|S consoles, Steam, and the XBOX app on PC all include game save indicators that confirm your progress has been synced. You can read more about the bug in the official support document here. Forza Horizon 6 is currently available on PC (Steam and the Microsoft Store), Xbox Series X|S, and Game Pass. The game is also coming to PlayStation 5 later this year.
  • 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
      522
    2. 2
      PsYcHoKiLLa
      199
    3. 3
      +Edouard
      158
    4. 4
      Steven P.
      84
    5. 5
      ATLien_0
      75
  • Tell a friend

    Love Neowin? Tell a friend!