still problems with bind9 server

Avi Greenbury avismailinglistaccount at googlemail.com
Wed Dec 15 18:40:11 UTC 2010


"Scott B." wrote:

I'm sure you've already posted this and somebody's already replied to
you. I'll try to help anyway, but _please_ do try to keep messages
that're part of the same discussion in one thread, it makes it a lot
easier for people trying to help to follow what's going on. Asking
pointed questions also helps us :)
To keep it in the thread, you need to reply to the message - starting a
new message with the same subject line is not the same as this as far
as mailing lists are concerned.

This is the bit that's wrong:
 
         // forwarders {
                 12.109.229.75;
 12.109.229.87;
// };

The '//' on the line effectively makes Bind ignore the rest of the
line, so it doesn't know that those IP addresses are of forwarders. The
syntax for this bit of binds config file is 

block-name{
    line 1 of block config 
    line 2 of block config
    etc...
};

If you don't have the block-name, it doesn't know what to do with
what's in the braces. Without the braces (the { and } ) it doesn't
even know that those are part of a block, and as far as Bind's
concerned theyr'e just arbitrarily placed numbers. 

There's no way to just remove those comment characters in Virtualmin,
you'll have to edit the config file directly. To do that in Virtualmin,
go to Webmin, then under 'Servers' choose 'BIND DNS Server' then click
'edit config file'.
You need to be quite careful here, since Virtualmin doesn't actually
validate any of the input - if you give Virtualmin broken
configuration, it'll write broken configuration.

You just need to remove those forward-slashes from the two lines, and
leave them be otherwise. This looks like the result of a mixture of
a bit of configuring with Virtualmin and a bit of hand-editing the
config file.

-- 
Avi.




More information about the ubuntu-users mailing list