Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

allow-query in zone

Status
Not open for further replies.

Nostradamus

Technical User
May 3, 2000
419
SE
Using bind9 on Linux.

I want to add a allow-query and a allow-transfer statement to a specific zone i named.conf. not a global config. I want the master(s) to be able to do both transfers and queries.

Is this config correct?

zone "whatever.com" {
type slave;
file "bak.whatever.com";
masters { 195.252.0.51; };
allow-transfer { 195.252.0.51; 192.36.104.41;
};
allow-query { 195.252.0.0/24; 192.36.104.0/24; };
};

Is there some way to only let a specific ip do queries, instead of a whole net.

/Sören
 
Have you tried using something like [tt]195.252.0.51/32[/tt]?

//Daniel
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top