November 5th, 2002, 01:18 PM
|
#1 (permalink)
| | Ultimate Member
Join Date: Oct 2001 Location: Arizona
Posts: 2,538
|
I'm not sure if this is the correct forum for this or not, but I'm posting this here anyway.
I need help with BIND. I've got forward DNS working, but I can't get reverse DNS working. 
debian:/etc/bind# host debian debian.mavericksystems.com A 192.168.1.31
debian:/etc/bind# host 192.168.1.31 192.168.1.31 does not exist (Authoritative answer)
Here's my BIND config files for your viewing. http://maverick.mahan.net/bind
BTW, thats a fake domain. I'm just doing some LAN testing. If you can offer some help I'd really appreciate it.
Last edited by Praetorian : November 5th, 2002 at 01:21 PM.
|
| |
November 5th, 2002, 05:08 PM
|
#2 (permalink)
| | Member
Join Date: Oct 2001 Location: Palatine, IL
Posts: 375
|
May I ask where you got that config from? I find it strange that it's doing DNS on an entire class A instead of a class C.
If I were you, I'd first try making it a little more 'standard' .. Change your named.conf:
zone "0.0.127.in-addr.arpa" {
type master;
file "etc/bind/db.127.0.0";
};
(Rename db.127 to db.127.0.0)
Edit your db.127.0.0:
Remove the line that says:
1.0.0 IN PTR localhost.
Add a line that says:
1.0.0.127.IN-ADDR.ARPA. IN PTR localhost.
Use tabs of course, not spaces.. =]
Incr the Serial numbers, and reload bind.
Also, your named.conf doesn't appear to be doing any special logging, so you could set something like that up. But for now, check your standard SysLog log files for BIND dumps.. Look for errors, etc...If you have 'em, post 'em..
*edit* Forgot a period..Whoops.. |
| |
November 9th, 2002, 03:57 AM
|
#3 (permalink)
| | Ultimate Member
Join Date: Oct 2001 Location: Arizona
Posts: 2,538
|
Okay, sorry I didn't respond sooner. My BIND config actually works.  I had my local nameserver listed second in /etc/resolv.conf. One of my friend suggested I set it as the first nameserver. I did, and it works.  Nothing, nothing whatsoever is wrong with my BIND files. This is a useless post now I guess.
Now I can finally get on to configuring Apache, Postfix, ProFTPd, and whatever the heck else I want.
BTW, anyone have any experience with DJBDNS? A net admin friend of mine suggested I learn BIND before I go using another program, but I just talked to our other friend tonight (net admin) who said he (first guy) wanted me to learn BIND just so I can see how messed up it is and go use something else.  What are your opinions on it? I'm really trying to learn one program and stick with it. In the next month I'll slowly be helping a friend convert his web hosting company to Linux (from Win2k). I want to be confident in myself that I can administer the systems, and just not be making false promises. I'll probably get fired if can't fix the boxes anyway, I work for him now. 
Last edited by Praetorian : November 9th, 2002 at 04:07 AM.
|
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | |
Posting Rules
| You may post new threads You may post replies You may not post attachments You may not edit your posts HTML code is Off | | | | Most Active Discussions | | | | | Recent Discussions  | | | | | |