[Pdns-users] define several IP Subnet for one service in GeoIP backend

Hamed Haghshenas haghshenas at chavoosh.com
Mon Apr 23 09:36:00 UTC 2018


Dear Brian,

 

Thanks for your solution

 

I know, it's work with your example but I have many client subnet in my
network about 150 subnets .

 

So a little hard to write every subnet in separated line,I want to find a
way to combine these in one line for every service .

 

Best Regards,

Hamed Haghshenas

 

 

From: Brian Candler [mailto:b.candler at pobox.com] 
Sent: Sunday, April 22, 2018 7:12 PM
To: Hamed Haghshenas <haghshenas at chavoosh.com>;
pdns-users at mailman.powerdns.com
Subject: Re: [Pdns-users] define several IP Subnet for one service in GeoIP
backend

 

On 22/04/2018 13:04, Hamed Haghshenas wrote:

Hi,

I configure PDNS Authoritative Server with GEOIP backend.

Now I want use several subnets in services but I don't know how ?

I use these schema like below :

  services:

    geo.gadgetworld.ir:

      193.178.201.0/24,188.158.188.0/24: 'tcar.geo.gadgetworld.ir'

Have you tried:

services:
  geo.gadgetworld.ir:
    193.178.201.0/24:
      tcar.geo.gadgetworld.ir
    188.158.188.0/24:
      tcar.geo.gadgetworld.ir

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.powerdns.com/pipermail/pdns-users/attachments/20180423/abfa7192/attachment.html>


More information about the Pdns-users mailing list