Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I've been working our local DNS server, setting up reverse delegation to increase security on blocking SPAM email and also bringing up the server to standard.
I have loaded up the reverse zone file with no errors /var/log/messages but, when i run dig -x 1.2.3.3, I get the below status: SERVFAIL.
I initial thought the error was caused by a misconfigured zone file. And made several changes on it and even used another reverse zone file, but still got the same error.
Can some tell me what going and how can i increase the log severity on named.conf?
Can some tell me what going and how can i increase the log severity on named.conf?
You should at least post the relevant part of named.conf, where you define your reverse zone.
You can look at /var/log/messages, or /var/log/syslog for errors, or you can setup logging for more detailed logs.
I have the below settings but, i don't get detailed logs.
You should add under the line: "file "/var/log/bindlog" versions 5 size 5m; "
the following 2 lines:
Code:
severity debug 3;
print-severity yes;
You can change the "3" in the debug level above, up to "9" if you want.
Now for the SERVFAIL problem, you should try to add $ORIGIN in the beginning of the zone file to see if it helps:
Code:
$TTL 1D
$ORIGIN 3.2.1.in-addr.arpa.
@ IN SOA dns1.example.co.tz. hostmaster.example.co.tz. (
2008051601 ; serial
8H ; refresh, seconds
2H ; retry, seconds
4W ; expire, seconds
1D ) ; minimum, seconds
;Name server(s)
IN NS dns1.example.co.tz. ; Primary Server
3 PTR example.co.tz. ;IP: 1.2.3.3
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.