[SOLVED] error "server can't find 254.0.168.192.in-addr.arpa: SERVFAIL" in dns server
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.
The trailing dot is needed. Otherwise the zone name is attached in the hostname, so what you catually have is: " IN NS server.example.com.0.168.192.in-addr.arpa".
The service starts succesfully, because this is not a syntax error in the configuration, but an error in the zone file.
Note that you need to increase the serial number and reload bind.
i have done this edit to.but still same error.
my /etc/hosts file of server is
Quote:
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 server.example.com server localhost.localdomain localhost
::1 localhost6.localdomain6 localhost6
192.168.0.2 client2 client2
192.168.0.254 server.example.com server.example.com
192.168.0.3 client3.example.com client3.example.com
192.168.0.1 client1.example.com client1.example.com
yes now nslookup is working fine.i have spent 3 days on this stupid silly mistake.thanx alot bathory.i want to ask one thing more.is it make difference if i use
If example.com. can be resolved (i.e. you have an A record in the forward zone for example.com), then you can use it. Of course you need to change both SOA and NS records accordingly.
Please use "Thread Tools" and mark the thread as "SOLVED"
$TTL 86400
@ IN SOA example.com. root (
43 ; serial (d. adams)
3H ; refresh
15M ; retry
1W ; expiry
1D ) ; minimum
@ NS server.example.com
server A 192.168.0.254
client1 A 192.168.0.1
client2 A 192.168.0.2
client3 A 192.168.0.3
i have used example.com as SOA record and server.example.com as ns record here.so it means i can use example.com instedad of server.example.com in reverse zone error?
i have used example.com as SOA record and server.example.com as ns record here.so it means i can use example.com instedad of server.example.com in reverse zone error?
As I've already told if you want to do this you need to give example.com an A record. So the forward zone should look like this:
Code:
$TTL 86400
@ IN SOA server.example.com. root.server.example.com. (
44 ; serial (d. adams)
3H ; refresh
15M ; retry
1W ; expiry
1D ) ; minimum
@ NS server.example.com.
example.com. A 192.168.0.254
server A 192.168.0.254
client1 A 192.168.0.1
client2 A 192.168.0.2
client3 A 192.168.0.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.