• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

AXFR zone transfer

M

madeddie

Guest
Hi,

Can I change the ACL within Plesk's BIND to allow external AXFR requests?

--
edwin
 
Yes, you can. This is covered in the 'Advanced Features Manual'.

5. Global access control list in named.conf

To allow DNS transfers server-wide on Plesk, the administrator can use global access control list in named.conf.

To set up an acl, the administrator should insert into the Plesk database the values describing servers to which DNS transfers are allowed. It can be done with mysql query:

insert into misc (param,val) values ('DNS_Allow_Transfer1', '1.1.1.1/24');

To specify more hosts, use the parameters like "DNS_Allow_Transfer2" and so on:

insert into misc (param,val) values ('DNS_Allow_Transfer2', '2.2.2.2');

Hosts should be specified by IP address and optional mask.

Once you added all the required IPs, run the following command to update named.conf:

<Plesk_installation_dir>\admin\bin\dnsmng.exe update any.of.your.domains
 
thanks carl, i hadn't even seen the advanced features manual :)

i will try it, way kewl, it all works
 
it was a nice idea, however, i can't find any plesk config db in either mysql nor mssql and no table named misc

should i just create a db en table misc and hope it works? what should be the db's name?

thx again :) (it's all one big adventure, i'm a firsttime plesk user :)
 
i fixed my own problem by editing the common-transfer-allow ACL in named.conf

and of course i hate a firewall problem which took me 2 days to find :)

thx for your help

--
edwin
 
To set up an acl, the administrator should insert into the Plesk database the values describing servers to which DNS transfers are allowed. It can be done with mysql query:

Sorry i'm very new to this,.

Where do you run this and how.

told you very blonde :p
 
Originally posted by Shorts
Sorry i'm very new to this,.

Where do you run this and how.

told you very blonde :p

yourun it on the command line

Start -> Run -> cmd[return]

although i'm still convinced it doesn't actually work like this, but that's besides the point.

--
edwin
 
sorry evan more confused, thought this was a mysql command not a DOS command?
 
yes, but what do you think mysql is?

it's not an OS, it's an application, something you run from the OS. If that means from the command line, so be it.

You could also use any graphical tool _your_ prefer, no problem, but the mysql binary utility is run from the command line.

--
edwin
 
running the line in at a dos prompt i get

'insert' is not recognized as an internal or external command,
operable program or batch file.

running the line at a mysql prompt i get

->
 
running it in the mysql utility was indeed how to do it, i had the problem that the misc table didn't even exist

which is way i think this solution does not work and is not the way to fix it.

you should've gotten a "1 rows updated" or something. read some posts back as to how i did it (i edited the named.conf file directly), works like a charm

--edwin
 
Back
Top