From: Tom Hughes Date: Fri, 14 Feb 2020 22:49:21 +0000 (+0000) Subject: Add geodns map for nominatim X-Git-Url: https://git.openstreetmap.org/dns.git/commitdiff_plain/3ed9ec6f95a3bbe1bf73cec2a49e49d2d1bf4477 Add geodns map for nominatim --- diff --git a/Makefile b/Makefile index 77f3fda..e587a54 100644 --- a/Makefile +++ b/Makefile @@ -13,10 +13,10 @@ preview_bytemark: data/openstreetmap.org data/openstreetmap.com data/openstreetm data/opengeodata.org \ data/switch2osm.org data/switch2osm.com \ data/tile.openstreetmap.org \ - data/tile.openstreetmap.org \ - data/render.openstreetmap.org + data/render.openstreetmap.org \ + data/nominatim.openstreetmap.org -preview_cloudflare: include/sshfp.js include/tile.js include/render.js +preview_cloudflare: include/sshfp.js include/tile.js include/render.js include/nominatim.js dnscontrol preview update: update_bytemark update_cloudflare update_geodns @@ -24,10 +24,10 @@ update: update_bytemark update_cloudflare update_geodns update_bytemark: preview_bytemark bin/update -update_cloudflare: include/sshfp.js include/tile.js include/render.js +update_cloudflare: include/sshfp.js include/tile.js include/render.js include/nominatim.js dnscontrol push --providers cloudflare -update_geodns: gdns/tile.map gdns/tile.resource gdns/tile.weighted +update_geodns: gdns/tile.map gdns/tile.resource gdns/tile.weighted gdns/nominatim.map gdns/nominatim.resource gdns/nominatim.weighted parallel --will-cite rsync --quiet --recursive --checksum gdns/ {}::geodns ::: ${GEODNS_SERVERS} clean: @@ -72,11 +72,17 @@ include/sshfp.js: bin/mksshfp $(wildcard /etc/ssh/ssh_known_hosts) origins/tile.openstreetmap.yml: bin/mkcountries lib/countries.xml bandwidth/tile.openstreetmap.yml bin/mkcountries bandwidth/tile.openstreetmap.yml origins/tile.openstreetmap.yml -data/tile.openstreetmap.org include/tilse.js json/tile.openstreetmap.org.json origins/render.openstreetmap.yml gdns/tile.map gdns/tile.resource gdns/tile.weighted: bin/mkgeo origins/tile.openstreetmap.yml src/tile.openstreetmap +data/tile.openstreetmap.org include/tile.js json/tile.openstreetmap.org.json origins/render.openstreetmap.yml gdns/tile.map gdns/tile.resource gdns/tile.weighted: bin/mkgeo origins/tile.openstreetmap.yml src/tile.openstreetmap bin/mkgeo origins/tile.openstreetmap.yml src/tile.openstreetmap tile.openstreetmap.org tile origins/render.openstreetmap.yml tile data/render.openstreetmap.org include/render.js json/render.openstreetmap.org.json: bin/mkgeo origins/render.openstreetmap.yml src/render.openstreetmap - bin/mkgeo origins/render.openstreetmap.yml src/render.openstreetmap render.openstreetmap.org render origins/total.openstreetmap.yml + bin/mkgeo origins/render.openstreetmap.yml src/render.openstreetmap render.openstreetmap.org render origins/tile-total.openstreetmap.yml + +origins/nominatim.openstreetmap.yml: bin/mkcountries lib/countries.xml bandwidth/nominatim.openstreetmap.yml + bin/mkcountries bandwidth/nominatim.openstreetmap.yml origins/nominatim.openstreetmap.yml + +data/nominatim.openstreetmap.org include/nominatim.js json/nominatim.openstreetmap.org.json origins/nominatim-total.openstreetmap.yml gdns/nominatim.map gdns/nominatim.resource gdns/nominatim.weighted: bin/mkgeo origins/nominatim.openstreetmap.yml src/nominatim.openstreetmap + bin/mkgeo origins/nominatim.openstreetmap.yml src/nominatim.openstreetmap nominatim.openstreetmap.org nominatim origins/nominatim-total.openstreetmap.yml nominatim data/%: sed -r -e 's/$(notdir $<)(:|$$)/$(notdir $@)\1/g' < $< > $@ diff --git a/bandwidth/nominatim.openstreetmap.yml b/bandwidth/nominatim.openstreetmap.yml new file mode 100644 index 0000000..32beae0 --- /dev/null +++ b/bandwidth/nominatim.openstreetmap.yml @@ -0,0 +1,242 @@ +--- +AD: 2.86888888889 +AE: 23.3488888889 +AF: 1.31777777778 +AG: 2.78 +AI: 0.0733333333333 +AL: 7.23777777778 +AM: 11.0422222222 +AO: 6.88888888889 +AQ: 0.0311111111111 +AR: 528.111111111 +AS: 4.29333333333 +AT: 312.84 +AU: 216.437777778 +AW: 2.46444444444 +AX: 0.0377777777778 +AZ: 5.50888888889 +BA: 6.07333333333 +BB: 2.85333333333 +BD: 36.64 +BE: 235.76 +BF: 5.08 +BG: 23.8266666667 +BH: 4.57555555556 +BI: 0.84 +BJ: 0.391111111111 +BL: 0.135555555556 +BM: 0.368888888889 +BN: 1.78888888889 +BO: 24.3533333333 +BQ: 0.0488888888889 +BR: 808.902222222 +BS: 0.446666666667 +BT: 9.26888888889 +BW: 19.9311111111 +BY: 73.8688888889 +BZ: 0.817777777778 +CA: 500.788888889 +CC: 0.104444444444 +CD: 0.78 +CF: 0.0777777777778 +CG: 0.811111111111 +CH: 180.373333333 +CI: 35.5088888889 +CK: 0.0533333333333 +CL: 167.984444444 +CM: 11.9977777778 +CN: 134.986666667 +CO: 369.002222222 +CR: 4.63555555556 +CU: 2.92666666667 +CV: 0.137777777778 +CW: 0.32 +CX: 0.00444444444444 +CY: 24.6577777778 +CZ: 87.84 +DE: 2324.72222222 +DJ: 0.464444444444 +DK: 43.8622222222 +DM: 0.0555555555556 +DO: 19.7577777778 +DZ: 16.6888888889 +EC: 92.8555555556 +EE: 43.9266666667 +EG: 86.5244444444 +EH: 0.00444444444444 +ER: 0.00888888888889 +ES: 279.497777778 +ET: 3 +FI: 49.3488888889 +FJ: 0.506666666667 +FK: 2.38444444444 +FM: 0.0377777777778 +FO: 25.5711111111 +FR: 784.886666667 +GA: 0.526666666667 +GB: 504.966666667 +GD: 0.0977777777778 +GE: 14.6311111111 +GF: 0.322222222222 +GG: 0.491111111111 +GH: 9.01555555556 +GI: 0.215555555556 +GL: 3.12 +GM: 0.537777777778 +GN: 1.00444444444 +GP: 0.895555555556 +GQ: 0.117777777778 +GR: 163.475555556 +GT: 5.70222222222 +GU: 0.326666666667 +GW: 0.0422222222222 +GY: 1.5 +HK: 59.1088888889 +HN: 22.2111111111 +HR: 133.737777778 +HT: 0.686666666667 +HU: 111.706666667 +ID: 381.413333333 +IE: 3421.39333333 +IL: 215.791111111 +IM: 0.342222222222 +IN: 484.255555556 +IO: 0.0288888888889 +IQ: 18.8822222222 +IR: 295.331111111 +IS: 22.9177777778 +IT: 362.433333333 +JE: 0.551111111111 +JM: 1.8 +JO: 3.26 +JP: 48.7711111111 +KE: 47.2155555556 +KG: 9.83333333333 +KH: 12.4244444444 +KI: 0.0266666666667 +KM: 0.0466666666667 +KN: 0.275555555556 +KR: 64.56 +KW: 13.0622222222 +KY: 2.92222222222 +KZ: 806.228888889 +LA: 8.74888888889 +LB: 1.72222222222 +LC: 0.142222222222 +LI: 0.124444444444 +LK: 35.6422222222 +LR: 0.697777777778 +LS: 0.126666666667 +LT: 64.9866666667 +LU: 19.9866666667 +LV: 14.3955555556 +LY: 1.91333333333 +MA: 109.646666667 +MC: 0.504444444444 +MD: 29.9288888889 +ME: 0.575555555556 +MF: 0.0644444444444 +MG: 2.29111111111 +MH: 0.0288888888889 +MK: 2.22444444444 +ML: 2.43777777778 +MM: 6.92888888889 +MN: 18.56 +MO: 0.748888888889 +MP: 0.08 +MQ: 4.79555555556 +MR: 0.526666666667 +MS: 0.0111111111111 +MT: 13.6088888889 +MU: 6.8 +MV: 0.982222222222 +MW: 0.902222222222 +MX: 256.54 +MY: 80.1244444444 +MZ: 15.3066666667 +NA: 8.03555555556 +NC: 0.924444444444 +NE: 0.451111111111 +NF: 0.00222222222222 +NG: 37.3733333333 +NI: 6.52444444444 +NL: 396.193333333 +NO: 27.7666666667 +NP: 2.64666666667 +NR: 3.38666666667 +NZ: 20.3733333333 +OM: 3.52888888889 +PA: 5.06888888889 +PE: 58.9888888889 +PF: 0.208888888889 +PG: 0.222222222222 +PH: 121.284444444 +PK: 32.86 +PL: 743.211111111 +PM: 0.0133333333333 +PR: 5.56 +PS: 13.9244444444 +PT: 57.5111111111 +PW: 0.02 +PY: 400.531111111 +QA: 7.32666666667 +RE: 20.6755555556 +RO: 76.48 +RS: 57.4933333333 +RU: 1054.97777778 +RW: 0.673333333333 +SA: 70.8666666667 +SB: 0.115555555556 +SC: 1.24444444444 +SD: 58.4177777778 +SE: 98.8555555556 +SG: 221.015555556 +SH: 0.0155555555556 +SI: 106.275555556 +SK: 27.84 +SL: 9.67555555556 +SM: 8.70444444444 +SN: 5.27777777778 +SO: 1.10444444444 +SR: 3.95111111111 +SS: 0.351111111111 +ST: 0.0377777777778 +SV: 3.54888888889 +SX: 0.135555555556 +SY: 40.98 +SZ: 0.64 +TC: 0.04 +TD: 0.0777777777778 +TG: 1.98666666667 +TH: 407.406666667 +TJ: 5.63333333333 +TK: 0.00444444444444 +TL: 0.142222222222 +TM: 1.22222222222 +TN: 11.4555555556 +TO: 0.02 +TR: 216.353333333 +TT: 10.3533333333 +TV: 2.75555555556 +TW: 58.3933333333 +TZ: 12.3488888889 +UA: 141.504444444 +UG: 5.98666666667 +US: 3539.80666667 +UY: 19.1933333333 +UZ: 63.5244444444 +VA: 0.02 +VC: 0.0444444444444 +VE: 55.3066666667 +VG: 0.0711111111111 +VI: 0.173333333333 +VN: 125.317777778 +VU: 0.104444444444 +WF: 0.00888888888889 +WS: 0.06 +XK: 0.113333333333 +YE: 2.95111111111 +YT: 1.34 +ZA: 249.057777778 +ZM: 3.03111111111 +ZW: 6 diff --git a/dnsconfig.js b/dnsconfig.js index ded7e7d..9556c5d 100644 --- a/dnsconfig.js +++ b/dnsconfig.js @@ -35,8 +35,9 @@ var OPENSTREETMAP = loadTemplate("openstreetmap"); require("include/sshfp.js"); require("include/tile.js"); require("include/render.js"); +require("include/nominatim.js"); -OPENSTREETMAP("openstreetmap.org", REG_GANDI, SSHFP_RECORDS, TILE_RECORDS, RENDER_RECORDS); +OPENSTREETMAP("openstreetmap.org", REG_GANDI, SSHFP_RECORDS, TILE_RECORDS, RENDER_RECORDS, NOMINATIM_RECORDS); OPENSTREETMAP("openstreetmap.com", REG_GANDI); OPENSTREETMAP("openstreetmap.net", REG_GANDI); OPENSTREETMAP("openstreetmap.ca", REG_GANDI); diff --git a/src/nominatim.openstreetmap b/src/nominatim.openstreetmap new file mode 100644 index 0000000..0a68cdf --- /dev/null +++ b/src/nominatim.openstreetmap @@ -0,0 +1,20 @@ +amsterdam: + lat: 52.33724625 + lon: 4.93370796776345 + statuscake: + - 2217359 + - 2217360 + colour: "#8dd3c7" + bandwidth: 1 + ipv4: 130.117.76.9 + ipv6: 200109780002002c0000000001720009 + +slough: + lat: 51.5228002 + lon: -0.62151043832233 + statuscake: + - 2217363 + - 2217364 + colour: "#bebada" + bandwidth: 0.0025 + ipv4: 193.60.236.18