HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   General (http://www.howtoforge.com/forums/forumdisplay.php?f=25)
-   -   weird dns file error (http://www.howtoforge.com/forums/showthread.php?t=54648)

spazio 26th October 2011 02:05

weird dns file error
 
Since a couple of week I have a weird behavior problem on the ispconfig 3 DNS.
Here is the server details:
ISP config 3.0.3.3
Ubuntu os 2.6.32-34-server x86_64

Here is the pri.example.com file when I use the wizard in the dns section:

user@server:/etc/bind$ cat pri.example.com
$TTL 86400
@ IN SOA ns1.domain.com. info.domain.com. (
2011102501 ; serial, todays date + todays serial #
28800 ; refresh, seconds
7200 ; retry, seconds
604800 ; expire, seconds
86400 ) ; minimum, seconds
;

example.com. 86400 A 10.0.0.100
example.com. MX 10 mail.example.com.
example.com. NS ns1.domain.com.
example.com. NS ns2.domain.com.
mail 86400 A 10.0.0.100
www 86400 A 10.0.0.100

user@server:/etc/bind$

Some 86400 number are not in their place. This cause the domain error.
I checked the default creation template but everything seems to be ok.

Any idea of how to fix this?

Spazio.

falko 26th October 2011 11:25

Quote:

Originally Posted by spazio (Post 265967)
Some 86400 number are not in their place.

These are optional.

Quote:

Originally Posted by spazio (Post 265967)
This cause the domain error.

What error message are you getting?

spazio 26th October 2011 14:32

The domain stop working. No web, no mail. If I do a dns report on it. Praticly everything exept the NS comes back as fail.
www
mx
etc

Meanwhile I take out the misplaced 86400 number manually and it all comes back ok.

falko 27th October 2011 16:28

Do you get any error messages (also in your logs) when you restart BIND (with the 86400 number)?


All times are GMT +2. The time now is 14:51.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.