From ecd37a4e456a632cd75be4c34642ea6010c2f301 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Fri, 11 May 2018 09:09:00 +0100 Subject: [PATCH] Update gdnsd configuration with latest MaxMind country mappings --- cookbooks/geodns/templates/default/config.erb | 22 ++++++++++--------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/cookbooks/geodns/templates/default/config.erb b/cookbooks/geodns/templates/default/config.erb index 87539febf..7921e9f62 100644 --- a/cookbooks/geodns/templates/default/config.erb +++ b/cookbooks/geodns/templates/default/config.erb @@ -3,7 +3,7 @@ plugins => { maps => { country => { geoip_db => /usr/share/GeoIP/GeoIPv6.dat - datacenters => [ad,ae,af,ag,ai,al,am,ao,aq,ar,as,at,au,aw,ax,az,ba,bb,bd,be,bf,bg,bh,bi,bj,bl,bm,bn,bo,bq,br,bs,bt,bv,bw,by,bz,ca,cc,cd,cf,cg,ch,ci,ck,cl,cm,cn,co,cr,cu,cv,cw,cx,cy,cz,de,dj,dk,dm,do,dz,ec,ee,eg,eh,er,es,et,fi,fj,fk,fm,fo,fr,ga,gb,gd,ge,gf,gg,gh,gi,gl,gm,gn,gp,gq,gr,gs,gt,gu,gw,gy,hk,hm,hn,hr,ht,hu,id,ie,il,im,in,io,iq,ir,is,it,je,jm,jo,jp,ke,kg,kh,ki,km,kn,kp,kr,kw,ky,kz,la,lb,lc,li,lk,lr,ls,lt,lu,lv,ly,ma,mc,md,me,mf,mg,mh,mk,ml,mm,mn,mo,mp,mq,mr,ms,mt,mu,mv,mw,mx,my,mz,na,nc,ne,nf,ng,ni,nl,no,np,nr,nu,nz,om,pa,pe,pf,pg,ph,pk,pl,pm,pn,pr,ps,pt,pw,py,qa,re,ro,rs,ru,rw,sa,sb,sc,sd,se,sg,sh,si,sj,sk,sl,sm,sn,so,sr,st,sv,sx,sy,sz,tc,td,tf,tg,th,tj,tk,tl,tm,tn,to,tr,tt,tv,tw,tz,ua,ug,um,us,uy,uz,va,vc,ve,vg,vi,vn,vu,wf,ws,xx,ye,yt,za,zm,zw] + datacenters => [ad,ae,af,ag,ai,al,am,an,ao,ap,aq,ar,as,at,au,aw,ax,az,ba,bb,bd,be,bf,bg,bh,bi,bj,bl,bm,bn,bo,br,bs,bt,bv,bw,by,bz,ca,cc,cd,cf,cg,ch,ci,ck,cl,cm,cn,co,cr,cu,cv,cx,cy,cz,de,dj,dk,dm,do,dz,ec,ee,eg,eh,er,es,et,eu,fi,fj,fk,fm,fo,fr,fx,ga,gb,gd,ge,gf,gg,gh,gi,gl,gm,gn,gp,gq,gr,gs,gt,gu,gw,gy,hk,hm,hn,hr,ht,hu,id,ie,il,im,in,io,iq,ir,is,it,je,jm,jo,jp,ke,kg,kh,ki,km,kn,kp,kr,kw,ky,kz,la,lb,lc,li,lk,lr,ls,lt,lu,lv,ly,ma,mc,md,me,mf,mg,mh,mk,ml,mm,mn,mo,mp,mq,mr,ms,mt,mu,mv,mw,mx,my,mz,na,nc,ne,nf,ng,ni,nl,no,np,nr,nu,nz,om,pa,pe,pf,pg,ph,pk,pl,pm,pn,pr,ps,pt,pw,py,qa,re,ro,rs,ru,rw,sa,sb,sc,sd,se,sg,sh,si,sj,sk,sl,sm,sn,so,sr,st,sv,sy,sz,tc,td,tf,tg,th,tj,tk,tl,tm,tn,to,tr,tt,tv,tw,tz,ua,ug,um,us,uy,uz,va,vc,ve,vg,vi,vn,vu,wf,ws,xx,ye,yt,za,zm,zw] map => { default => [xx] AF => { @@ -76,6 +76,7 @@ plugins => { AE => [ae] AF => [af] AM => [am] + AP => [ap] AZ => [az] BD => [bd] BH => [bh] @@ -84,6 +85,7 @@ plugins => { CC => [cc] CN => [cn] CX => [cx] + CY => [cy] GE => [ge] HK => [hk] ID => [id] @@ -119,8 +121,8 @@ plugins => { SY => [sy] TH => [th] TJ => [tj] + TL => [tl] TM => [tm] - TR => [tr] TW => [tw] UZ => [uz] VN => [vn] @@ -136,15 +138,16 @@ plugins => { BG => [bg] BY => [by] CH => [ch] - CY => [cy] CZ => [cz] DE => [de] DK => [dk] EE => [ee] ES => [es] + EU => [eu] FI => [fi] FO => [fo] FR => [fr] + FX => [fx] GB => [gb] GG => [gg] GI => [gi] @@ -177,23 +180,23 @@ plugins => { SJ => [sj] SK => [sk] SM => [sm] + TR => [tr] UA => [ua] VA => [va] } NA => { AG => [ag] AI => [ai] + AN => [an] AW => [aw] BB => [bb] BL => [bl] BM => [bm] - BQ => [bq] BS => [bs] BZ => [bz] CA => [ca] CR => [cr] CU => [cu] - CW => [cw] DM => [dm] DO => [do] GD => [gd] @@ -215,7 +218,6 @@ plugins => { PM => [pm] PR => [pr] SV => [sv] - SX => [sx] TC => [tc] TT => [tt] US => [us] @@ -244,7 +246,6 @@ plugins => { PW => [pw] SB => [sb] TK => [tk] - TL => [tl] TO => [to] TV => [tv] UM => [um] @@ -282,7 +283,9 @@ plugins => { ai => ai.tile.openstreetmap.org. al => al.tile.openstreetmap.org. am => am.tile.openstreetmap.org. + an => an.tile.openstreetmap.org. ao => ao.tile.openstreetmap.org. + ap => ap.tile.openstreetmap.org. aq => aq.tile.openstreetmap.org. ar => ar.tile.openstreetmap.org. as => as.tile.openstreetmap.org. @@ -304,7 +307,6 @@ plugins => { bm => bm.tile.openstreetmap.org. bn => bn.tile.openstreetmap.org. bo => bo.tile.openstreetmap.org. - bq => bq.tile.openstreetmap.org. br => br.tile.openstreetmap.org. bs => bs.tile.openstreetmap.org. bt => bt.tile.openstreetmap.org. @@ -327,7 +329,6 @@ plugins => { cr => cr.tile.openstreetmap.org. cu => cu.tile.openstreetmap.org. cv => cv.tile.openstreetmap.org. - cw => cw.tile.openstreetmap.org. cx => cx.tile.openstreetmap.org. cy => cy.tile.openstreetmap.org. cz => cz.tile.openstreetmap.org. @@ -344,12 +345,14 @@ plugins => { er => er.tile.openstreetmap.org. es => es.tile.openstreetmap.org. et => et.tile.openstreetmap.org. + eu => eu.tile.openstreetmap.org. fi => fi.tile.openstreetmap.org. fj => fj.tile.openstreetmap.org. fk => fk.tile.openstreetmap.org. fm => fm.tile.openstreetmap.org. fo => fo.tile.openstreetmap.org. fr => fr.tile.openstreetmap.org. + fx => fx.tile.openstreetmap.org. ga => ga.tile.openstreetmap.org. gb => gb.tile.openstreetmap.org. gd => gd.tile.openstreetmap.org. @@ -484,7 +487,6 @@ plugins => { sr => sr.tile.openstreetmap.org. st => st.tile.openstreetmap.org. sv => sv.tile.openstreetmap.org. - sx => sx.tile.openstreetmap.org. sy => sy.tile.openstreetmap.org. sz => sz.tile.openstreetmap.org. tc => tc.tile.openstreetmap.org. -- 2.43.2