LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-03-2009, 05:41 PM   #1
Taleya
LQ Newbie
 
Registered: May 2007
Posts: 8

Rep: Reputation: 0
Reverse DNS on Bind9


Hi guys,

Having another one of those days - got a reverse DNS that's driving me nuts. It's probably pure pebkac, but any help appreciated.


Named.conf has the following entry:

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


Contents of db.18.000.000:

; BIND reverse data file for Student Mail
;
$ORIGIN 18.000.000.in-addr.arpa.
$TTL 604800

@ IN SOA ns1.notmydomain.org.au. (
1 ; Serial
10800 ; Refresh
3600 ; Retry
604800 ; Expire
604800 ) ; Negative Cache TTL
;
@ IN NS ns2.notmynameserver.net.au
@ IN NS n4.notmynameserver.net.au

178 IN PTR gw-notmy.domainhere.org.au.

Bind takes it, but won't issue a reverse DNS lookup. No errors in logs.

any hints as to what I'm doing wrong? Can't concentrate in the slightest atm, the monkeys are agitated behind me >.<


====================

Ok, resolved that issue...now I have a bizarre "REFUSED" error when attempting an NSlookup.

Dig -x works fine

Have checked IPtables, and UDP 53 is open on the firewall

Last edited by Taleya; 11-03-2009 at 07:10 PM. Reason: Fixed :D
 
Old 11-04-2009, 11:39 AM   #2
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
In arpa zones where you have:

@ IN NS ns2.notmynameserver.net.au
@ IN NS n4.notmynameserver.net.au

I don't have the @ for the name servers so it would only be:

IN NS ns2.notmynameserver.net.au
IN NS n4.notmynameserver.net.au

P.S. You might want to set your serial number to something like 2009110401 instead of just 1. It doesn't matter really so long as you increment each time you update it (e.g. 2009110402 or just 2) but it does let you and others know when you last updated this zone.

Last edited by MensaWater; 11-04-2009 at 11:40 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
DHCP autoupdate DNS failing to update reverse DNS ScottChapman Linux - Networking 0 12-20-2008 07:42 PM
DNS problems, reverse dns working localy but not on other servers. valls Linux - Newbie 1 06-16-2008 06:59 AM
Reverse DNS: Why is the record on the datacenter DNS server instead? Swakoo Linux - Networking 2 09-20-2007 04:42 AM
bind9 on debian not providing reverse lookups to remote machines. slybob Linux - Server 2 06-15-2007 06:52 PM
Bind9 DNS Issue b00gz Linux - Networking 10 07-15-2006 11:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:08 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration