PDA

View Full Version : Bind stops and cannot be restarted after a slave domain is added


jason
14th August 2005, 16:16
Good afternoon

Bit of a problem... When I add a slave domain via ISPConfig bind stops and won't start again. The only solution is to reinstall bind9 and work through the debian setup howto.

On a different note. I can only login to webmail using the ISPConfig user name (eg wed4_test) - not the email address I assign. Locally generated mail is received fine and sending mail is not a problem but my test user can't receive any externally generated mail. Any pointers?

Ta

j

falko
14th August 2005, 17:00
Good afternoon

Bit of a problem... When I add a slave domain via ISPConfig bind stops and won't start again. The only solution is to reinstall bind9 and work through the debian setup howto.

Any messages in the logs (/var/log/messages or /var/log/syslog)?

On a different note. I can only login to webmail using the ISPConfig user name (eg wed4_test) - not the email address I assign. Locally generated mail is received fine and sending mail is not a problem but my test user can't receive any externally generated mail. Any pointers?


Did you install the webmail package from www.ispconfig.org or another one?

jason
14th August 2005, 21:10
Any messages in the logs (/var/log/messages or /var/log/syslog)?


/var/log/messages

lots of the below but not much else

Aug 14 15:40:24 jasons -- MARK --


/var/log/syslog (grepped for bind)

Aug 14 13:48:25 jasons named[31060]: starting BIND 9.2.4 -u bind -t /var/lib/named
Aug 14 13:48:25 jasons named[31060]: loading configuration from '/etc/bind/named.conf'
Aug 14 13:48:25 jasons named[31060]: /etc/bind/named.conf:30: unknown option '<'
Aug 14 13:48:25 jasons named[31060]: /etc/bind/named.conf:35: unknown option '<'
Aug 14 13:49:21 jasons named[31189]: starting BIND 9.2.4 -u bind -t /var/lib/named
Aug 14 13:49:21 jasons named[31189]: loading configuration from '/etc/bind/named.conf'
Aug 14 13:49:21 jasons named[31189]: /etc/bind/named.conf:30: unknown option '<'
Aug 14 13:49:21 jasons named[31189]: /etc/bind/named.conf:35: unknown option '<'

Did you install the webmail package from www.ispconfig.org or another one?

Yes. I had the same problem as quite a few people who follow the Debian setup tutorial and then install webmail. It been mainly fixed by reading the posts here but not being able to receive mail is quite a big flaw. I suspect the answer may be to add a domain in a config file somewher but I'm not sure where to start. I can give someone a login if need be.

The tutorial is fantastic by the way. I'm new to this and I've learnt a lot from working through it.

falko
14th August 2005, 21:50
Aug 14 13:48:25 jasons named[31060]: /etc/bind/named.conf:30: unknown option '<'
Aug 14 13:48:25 jasons named[31060]: /etc/bind/named.conf:35: unknown option '<'

There must be syntax errors in /etc/bind/named.conf in line 30 and 35 (look out for "<"). Remove the error and restart named. If you don't know what to do you can post /etc/bind/named.conf here.

Yes. I had the same problem as quite a few people who follow the Debian setup tutorial and then install webmail. It been mainly fixed by reading the posts here but not being able to receive mail is quite a big flaw. I suspect the answer may be to add a domain in a config file somewher but I'm not sure where to start. I can give someone a login if need be.

Any messages in /var/log/mail.log? Did you choose the correct format of your mailbox in ISPConfig (mbox vs. Maildir)?
http://www.howtoforge.com/forums/showthread.php?t=200
http://www.howtoforge.com/forums/showthread.php?t=175

jason
14th August 2005, 22:42
If you don't know what to do you can post /etc/bind/named.conf here.

<!-- BEGIN DYNAMIC BLOCK: named_reverse -->
zone "{ZONE}.in-addr.arpa" {
type master;
file "pri.{ZONE}.in-addr.arpa";
};
<!-- END DYNAMIC BLOCK: named_reverse -->

I think these are the offending lines - the top is 30 and the bottom 35. They look ok though so....


Any messages in /var/log/mail.log?

These are the last interesting ones.

Aug 14 17:32:48 jasons postfix/smtpd[2217]: connect from 219-81-152-12.dynamic.tfn.net.tw[219.81.152.12]
Aug 14 17:32:50 jasons postfix/smtpd[2217]: NOQUEUE: reject: RCPT from 219-81-152-12.dynamic.tfn.net.tw[219.81.152.12]: 554 <pp168@so-net.net.tw>: Relay access denied; from=<fgsgmaildsfa@msa.hinet.net> to=<pp168@so-net.net.tw> proto=SMTP helo=<80.87.131.60>
Aug 14 17:32:50 jasons postfix/smtpd[2217]: lost connection after RCPT from 219-81-152-12.dynamic.tfn.net.tw[219.81.152.12]
Aug 14 17:32:50 jasons postfix/smtpd[2217]: disconnect from 219-81-152-12.dynamic.tfn.net.tw[219.81.152.12]
Aug 14 17:36:10 jasons postfix/anvil[2219]: statistics: max connection rate 1/60s for (smtp:219.81.152.12) at Aug 14 17:32:48
Aug 14 17:36:10 jasons postfix/anvil[2219]: statistics: max connection count 1 for (smtp:219.81.152.12) at Aug 14 17:32:48
Aug 14 17:36:10 jasons postfix/anvil[2219]: statistics: max cache size 1 at Aug 14 17:32:48

Otherwise I just get...

Aug 14 20:13:17 jasons courierpop3login: LOGIN, user=web4_test, ip=[::ffff:127.0.0.1]
Aug 14 20:13:17 jasons courierpop3login: LOGOUT, user=web4_test, ip=[::ffff:127.0.0.1], top=2604, retr=0, time=0
Aug 14 20:23:18 jasons courierpop3login: Connection, ip=[::ffff:127.0.0.1]
Aug 14 20:23:18 jasons courierpop3login: LOGIN, user=web4_test, ip=[::ffff:127.0.0.1]
Aug 14 20:23:18 jasons courierpop3login: LOGOUT, user=web4_test, ip=[::ffff:127.0.0.1], top=2604, retr=0, time=0
Aug 14 20:33:19 jasons courierpop3login: Connection, ip=[::ffff:127.0.0.1]
Aug 14 20:33:19 jasons courierpop3login: LOGIN, user=web4_test, ip=[::ffff:127.0.0.1]
Aug 14 20:33:19 jasons courierpop3login: LOGOUT, user=web4_test, ip=[::ffff:127.0.0.1], top=2604, retr=0, time=0

Did you choose the correct format of your mailbox in ISPConfig (mbox vs. Maildir)

I'm using Maildir. I followed the directions in the tutorial for Maildir and selected it in ISP Config. Emails are delivered to the mailboxes though so.......

falko
15th August 2005, 11:51
<!-- BEGIN DYNAMIC BLOCK: named_reverse -->
zone "{ZONE}.in-addr.arpa" {
type master;
file "pri.{ZONE}.in-addr.arpa";
};
<!-- END DYNAMIC BLOCK: named_reverse -->

I think these are the offending lines - the top is 30 and the bottom 35. They look ok though so....


Did you copy the named.conf template file from /root/ispconfig/isp/conf to /etc/bind??? You cannot do that, it's as template, and all the important content is parsed into it by ISPConfig! :rolleyes:

I'm using Maildir. I followed the directions in the tutorial for Maildir and selected it in ISP Config. Emails are delivered to the mailboxes though so.......

You mean, mails arrive in Maildir or in mbox?

jason
15th August 2005, 21:43
Did you copy the named.conf template file from /root/ispconfig/isp/conf to /etc/bind??? You cannot do that, it's as template, and all the important content is parsed into it by ISPConfig!

You're right! I did :eek: What do I need to do to rectify this?

You mean, mails arrive in Maildir or in mbox?

Yeah. The mailbox are all called Maildir. Could it be that postfix tried to deliver mail sent externally to mbox mailboxes that don't exist?

falko
15th August 2005, 22:02
You're right! I did :eek: What do I need to do to rectify this?


You can simply create a zone in the DNS Manager, and then /etc/bind/named.conf will be overwritten with a correct file (as long as you've left the original template file in /root/ispconfig/isp/conf.

Could it be that postfix tried to deliver mail sent externally to mbox mailboxes that don't exist?

Don't think so. Are there mails in /var/spool mail?

jason
15th August 2005, 23:42
You can simply create a zone in the DNS Manager, and then /etc/bind/named.conf will be overwritten with a correct file (as long as you've left the original template file in /root/ispconfig/isp/conf.

Where can I get/How do I generate a template file?

Are there mails in /var/spool mail?

Only one from the system.

'Subject: Debconf: Configuring ssh -- NOTE: Forwarding of X11 and Authorization disabled by default.'

falko
15th August 2005, 23:51
Where can I get/How do I generate a template file?


You don't have to generate template files - they come with ISPConfig and are used to write the configuration files. You don't have to deal with them at all. You only need to work with the web interface, nothing else. :)

jason
16th August 2005, 04:30
I'm still having the same problem. I suspect it may be a fault in the master template. I've pasted it below:

<!-- BEGIN DYNAMIC BLOCK: named_reverse -->
zone "{ZONE}.in-addr.arpa" {
type master;
file "pri.{ZONE}.in-addr.arpa";
};
<!-- END DYNAMIC BLOCK: named_reverse -->

<!-- BEGIN DYNAMIC BLOCK: named -->
zone "{DOMAIN}" {
type master;
file "pri.{DOMAIN}";
};
<!-- END DYNAMIC BLOCK: named -->

<!-- BEGIN DYNAMIC BLOCK: named_slave -->
zone "{DOMAIN}" {
type slave;
file "sec.{DOMAIN}";
masters { {MASTERS}; };
};
<!-- END DYNAMIC BLOCK: named_slave -->

Does this contain any flaws? When I add a slave domain ISPConfig inserts the first block into /etc/bind/name.conf:

<!-- BEGIN DYNAMIC BLOCK: named_reverse -->
zone "{ZONE}.in-addr.arpa" {
type master;
file "pri.{ZONE}.in-addr.arpa";
};
<!-- END DYNAMIC BLOCK: named_reverse -->

Which crashes bind. When I manually delete it bind can be restarted.

Also.... :o have you got any idea why I can't receive email? There aren't any mails in /var/log/spool. I'm at a bit of a loss to be honest.

Ta

j

falko
16th August 2005, 10:12
Does this contain any flaws?

No, looks fine.

Also.... have you got any idea why I can't receive email? There aren't any mails in /var/log/spool. I'm at a bit of a loss to be honest.

So you're using Maildir, and you set Maildir under Management -> Server -> Settings -> Email. And you use Courier which also uses Maildir. Looks fine so far. Can you describe exactly what you did that no mails arrive?

till
16th August 2005, 10:22
<!-- BEGIN DYNAMIC BLOCK: named_reverse -->
zone "{ZONE}.in-addr.arpa" {
type master;
file "pri.{ZONE}.in-addr.arpa";
};
<!-- END DYNAMIC BLOCK: named_reverse -->


Does ISPConfig adds exactly this or are the placeholders like {ZONE} replaced?

jason
16th August 2005, 11:01
Does ISPConfig adds exactly this or are the placeholders like {ZONE} replaced?

Ahhhhhh it adds exactly that! Is ISPConfig meant to replace {ZONE} with the domain name? If so then how can I make this happn?

Moving on to email - I'm using postfix and Courier and I've selected the Maildir oprion in ISPConfig but 'I can only login to webmail using the ISPConfig user name (eg wed4_test) - not the email address I assign. Locally generated mail is received fine and sending mail is not a problem but my test user can't receive any externally generated mail'

falko
16th August 2005, 11:08
Moving on to email - I'm using postfix and Courier and I've selected the Maildir oprion in ISPConfig but 'I can only login to webmail using the ISPConfig user name (eg wed4_test) - not the email address I assign. Locally generated mail is received fine and sending mail is not a problem but my test user can't receive any externally generated mail'

Are you sure that the externally generated mail actually arrived on your computer? Anything in the mail logs? Maybe those mails arrive on a totally different machine... (DNS?)

jason
16th August 2005, 21:41
I'm not certain that the mail is arriving on the server but I set up DNS personally so I'm sure it should be ;) Just tried sending another test mail but no luck. To avoid the possibilty of caching I've even sent test mails from machines on the same network as my server but no joy.

Nothing that looks interesting in the logs either - although I'm not sure what I should be looking for. Which particular log should I be looking in?

Also... assuming that ISPConfig is meant to replace {ZONE} with the hostname when writing to /etc/bind/named.conf, why is this not happening on my setup?

falko
16th August 2005, 21:55
Nothing that looks interesting in the logs either - although I'm not sure what I should be looking for. Which particular log should I be looking in?

/var/log/mail.log
/var/log/mail.warn
/var/log/mail.err

Also... assuming that ISPConfig is meant to replace {ZONE} with the hostname when writing to /etc/bind/named.conf, why is this not happening on my setup?

Is there anything that looks strange in /var/log/ispconfig_install.log and /home/admispconfig/ispconfig/ispconfig.log?

jason
16th August 2005, 22:14
Is there anything that looks strange in /var/log/ispconfig_install.log and /home/admispconfig/ispconfig/ispconfig.log?

/var/log/ispconfig_install.log hasn't been writtne too in the past few days but I've pasted the last two days of /home/admispconfig/ispconfig/ispconfig.log logs below:

15.08.2005 - 23:59:02 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_system.lib.php, Line 696: /etc/init.d/postfix stop &> /dev/null
15.08.2005 - 23:59:02 => INFO - /root/ispconfig/scripts/shell/mail_logs.php, Line 53: cp -f /var/log/mail.log /var/log/mail.log.15-08-05_23-59-01
15.08.2005 - 23:59:02 => INFO - /root/ispconfig/scripts/shell/mail_logs.php, Line 55: touch /var/log/mail.log.ispconfigsave
15.08.2005 - 23:59:02 => INFO - /root/ispconfig/scripts/shell/mail_logs.php, Line 56: cat /var/log/mail.log >> /var/log/mail.log.ispconfigsave
15.08.2005 - 23:59:03 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_system.lib.php, Line 696: /etc/init.d/postfix start &> /dev/null
15.08.2005 - 23:59:04 => INFO - /root/ispconfig/scripts/shell/mail_logs.php, Line 132: rm -f /var/log/mail.log.www.wikiporn.org
15.08.2005 - 23:59:04 => INFO - /root/ispconfig/scripts/shell/mail_logs.php, Line 134: rm -f /var/log/mail.log.15-08-05_23-59-01
16.08.2005 - 02:13:39 => INFO - Signalfile Set: insert
16.08.2005 - 02:13:47 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_postfix.lib.php, Line 136: cp -fr /etc/postfix/local-host-names /etc/postfix/local-host-names~
16.08.2005 - 02:13:47 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_postfix.lib.php, Line 283: cp -fr /etc/postfix/virtusertable /etc/postfix/virtusertable~
16.08.2005 - 02:13:47 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_postfix.lib.php, Line 288: postmap hash:/etc/postfix/virtusertable
16.08.2005 - 02:13:47 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 1181: cp -fr /etc/apache2/vhosts/Vhosts_ispconfig.conf /etc/apache2/vhosts/Vhosts_ispconfig.conf~
16.08.2005 - 02:13:47 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_system.lib.php, Line 696: /etc/init.d/postfix stop &> /dev/null
16.08.2005 - 02:13:49 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_system.lib.php, Line 696: /etc/init.d/postfix start &> /dev/null
16.08.2005 - 02:13:49 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_bind.lib.php, Line 120: cp -fr /etc/bind/named.conf /etc/bind/named.conf~
16.08.2005 - 02:13:52 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_system.lib.php, Line 696: /etc/init.d/bind9 restart &> /dev/null
16.08.2005 - 02:13:52 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 1811: cp -fr /etc/proftpd_ispconfig.conf /etc/proftpd_ispconfig.conf~
16.08.2005 - 02:13:52 => WARN - /root/ispconfig/scripts/lib/config.lib.php, Line 1846: WARNING: could not groupadd -g 12004 web4_anonftp &> /dev/null
16.08.2005 - 02:13:52 => WARN - /root/ispconfig/scripts/lib/config.lib.php, Line 1847: WARNING: could not useradd -d /home/www/web4/ftp -g web4_anonftp -M -s /bin/false -u 12004 web4_anonftp &> /dev/null
16.08.2005 - 02:13:52 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 1856: setquota -u web4_anonftp 0 0 0 0 -a &> /dev/null
16.08.2005 - 02:13:52 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 1857: setquota -g web4_anonftp 0 0 0 0 -a &> /dev/null
16.08.2005 - 02:19:09 => INFO - Signalfile Set: insert
16.08.2005 - 02:19:15 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_postfix.lib.php, Line 136: cp -fr /etc/postfix/local-host-names /etc/postfix/local-host-names~
16.08.2005 - 02:19:15 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_postfix.lib.php, Line 283: cp -fr /etc/postfix/virtusertable /etc/postfix/virtusertable~
16.08.2005 - 02:19:15 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_postfix.lib.php, Line 288: postmap hash:/etc/postfix/virtusertable
16.08.2005 - 02:19:15 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 1181: cp -fr /etc/apache2/vhosts/Vhosts_ispconfig.conf /etc/apache2/vhosts/Vhosts_ispconfig.conf~
16.08.2005 - 02:19:15 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_bind.lib.php, Line 120: cp -fr /etc/bind/named.conf /etc/bind/named.conf~
16.08.2005 - 02:19:17 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_system.lib.php, Line 696: /etc/init.d/bind9 restart &> /dev/null
16.08.2005 - 02:19:17 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 1811: cp -fr /etc/proftpd_ispconfig.conf /etc/proftpd_ispconfig.conf~
16.08.2005 - 02:19:18 => WARN - /root/ispconfig/scripts/lib/config.lib.php, Line 1846: WARNING: could not groupadd -g 12004 web4_anonftp &> /dev/null
16.08.2005 - 02:19:18 => WARN - /root/ispconfig/scripts/lib/config.lib.php, Line 1847: WARNING: could not useradd -d /home/www/web4/ftp -g web4_anonftp -M -s /bin/false -u 12004 web4_anonftp &> /dev/null
16.08.2005 - 02:19:18 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 1856: setquota -u web4_anonftp 0 0 0 0 -a &> /dev/null
16.08.2005 - 02:19:18 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 1857: setquota -g web4_anonftp 0 0 0 0 -a &> /dev/null

/var/log/mail.log
/var/log/mail.warn
/var/log/mail.err

Thought so.... I've tailed them and put them below:

/var/log/mail.log

Aug 16 19:29:50 jasons courierpop3login: LOGOUT, user=web4_test, ip=[::ffff:127.0.0.1], top=2604, retr=0, time=1
Aug 16 19:40:44 jasons courierpop3login: Connection, ip=[::ffff:127.0.0.1]
Aug 16 19:40:44 jasons courierpop3login: LOGIN, user=web4_test, ip=[::ffff:127.0.0.1]
Aug 16 19:40:45 jasons courierpop3login: LOGOUT, user=web4_test, ip=[::ffff:127.0.0.1], top=2604, retr=0, time=1
Aug 16 19:50:46 jasons courierpop3login: Connection, ip=[::ffff:127.0.0.1]
Aug 16 19:50:46 jasons courierpop3login: LOGIN, user=web4_test, ip=[::ffff:127.0.0.1]
Aug 16 19:50:46 jasons courierpop3login: LOGOUT, user=web4_test, ip=[::ffff:127.0.0.1], top=2604, retr=0, time=0
Aug 16 20:00:47 jasons courierpop3login: Connection, ip=[::ffff:127.0.0.1]
Aug 16 20:00:47 jasons courierpop3login: LOGIN, user=web4_test, ip=[::ffff:127.0.0.1]
Aug 16 20:00:47 jasons courierpop3login: LOGOUT, user=web4_test, ip=[::ffff:127.0.0.1], top=2604, retr=0, time=0

/var/log/mail.warn

Aug 14 09:25:44 WikiPorn courierpop3login: LOGIN FAILED, ip=[::ffff:127.0.0.1]
Aug 14 09:26:10 WikiPorn courierpop3login: LOGIN FAILED, ip=[::ffff:127.0.0.1]
Aug 14 09:27:01 WikiPorn last message repeated 2 times
Aug 14 09:27:47 WikiPorn courierpop3login: LOGIN FAILED, ip=[::ffff:127.0.0.1]
Aug 14 09:40:16 WikiPorn courierpop3login: DISCONNECTED, user=web4_test, ip=[::ffff:127.0.0.1], top=0, retr=0, time=205
Aug 14 11:49:59 jasons courierpop3login: DISCONNECTED, user=web4_test, ip=[::ffff:127.0.0.1], top=0, retr=0, time=0
Aug 14 11:50:34 jasons courierpop3login: LOGIN FAILED, ip=[::ffff:168.144.108.27]
Aug 14 11:50:46 jasons last message repeated 2 times
Aug 14 11:52:16 jasons courierpop3login: LOGIN FAILED, ip=[::ffff:127.0.0.1]
Aug 15 05:35:19 jasons postfix/smtpd[12575]: warning: 200.64.221.118: hostname dup-200-64-221-118.prodigy.net.mx verification failed: Name or service not known

/var/log/mail.err

Aug 14 09:24:04 WikiPorn courierpop3login: TIMEOUT, user=web4_test, ip=[::ffff:127.0.0.1], top=0, retr=0, time=380
Aug 14 09:25:44 WikiPorn courierpop3login: LOGIN FAILED, ip=[::ffff:127.0.0.1]
Aug 14 09:26:10 WikiPorn courierpop3login: LOGIN FAILED, ip=[::ffff:127.0.0.1]
Aug 14 09:27:01 WikiPorn last message repeated 2 times
Aug 14 09:27:47 WikiPorn courierpop3login: LOGIN FAILED, ip=[::ffff:127.0.0.1]
Aug 14 09:40:16 WikiPorn courierpop3login: DISCONNECTED, user=web4_test, ip=[::ffff:127.0.0.1], top=0, retr=0, time=205
Aug 14 11:49:59 jasons courierpop3login: DISCONNECTED, user=web4_test, ip=[::ffff:127.0.0.1], top=0, retr=0, time=0
Aug 14 11:50:34 jasons courierpop3login: LOGIN FAILED, ip=[::ffff:168.144.108.27]
Aug 14 11:50:46 jasons last message repeated 2 times
Aug 14 11:52:16 jasons courierpop3login: LOGIN FAILED, ip=[::ffff:127.0.0.1]

Apologies for the vast number of logs that I've pasted into this one. It can't be very interesting for other users :o

jason
17th August 2005, 22:37
Any ideas?

falko
18th August 2005, 01:53
Not really. :(
Did you follow one of the "Perfect Setup" guides and read the installation instructions for ISPConfig?

jason
19th August 2005, 09:16
I'm a fool!

I set up dns incorrectly - the mail system now works!!

Last question - When I add a domain to Bind9 using ISPConfig how do I stop....

<!-- BEGIN DYNAMIC BLOCK: named_reverse -->
zone "{ZONE}.in-addr.arpa" {
type master;
file "pri.{ZONE}.in-addr.arpa";
};
<!-- END DYNAMIC BLOCK: named_reverse -->

being written into /etc/bind/named.conf

I expect that what should be written is.....

<!-- BEGIN DYNAMIC BLOCK: named_reverse -->
zone "foo.com.in-addr.arpa" {
type master;
file "pri.foo.com.in-addr.arpa";
};
<!-- END DYNAMIC BLOCK: named_reverse -->

or

<!-- BEGIN DYNAMIC BLOCK: named_reverse -->
zone "123.123.123.123.in-addr.arpa" {
type master;
file "pri.123.123.123.123.in-addr.arpa";
};
<!-- END DYNAMIC BLOCK: named_reverse -->