From 1fd744d39ba15b18fefb459bcb140e34788cd4d8 Mon Sep 17 00:00:00 2001 From: Neo_Chen Date: Sun, 26 Apr 2020 12:09:25 +0800 Subject: [PATCH] DNS: better auto generated reverse lookup --- dns/db.10.127 | 128 +++++++++++++++---------------- scripts/dns-reverse-generator.sh | 4 +- 2 files changed, 66 insertions(+), 66 deletions(-) diff --git a/dns/db.10.127 b/dns/db.10.127 index d5d5811..95b6ae5 100644 --- a/dns/db.10.127 +++ b/dns/db.10.127 @@ -36,67 +36,67 @@ $TTL 604800 2.8 IN PTR blog.librehs.neo. ; AUTOGENERATED -1.0 IN PTR caasih -2.0 IN PTR ucbvax -9.0 IN PTR ucbvax -10.0 IN PTR NeoSystem -13.0 IN PTR ucbvax -14.0 IN PTR NeoPDP-11 -17.0 IN PTR caasih -18.0 IN PTR NeoPDP-11 -21.0 IN PTR NeoSystem -22.0 IN PTR NeoVAX -25.0 IN PTR staph -26.0 IN PTR MagicNeko-RU1 -29.0 IN PTR ucbvax -30.0 IN PTR megumiLHS -41.0 IN PTR pan -42.0 IN PTR NeoPDP-11 -45.0 IN PTR pan -46.0 IN PTR NeoSystem -49.0 IN PTR cklvax -50.0 IN PTR NeoSystem -53.0 IN PTR pan -54.0 IN PTR NeoSystem -57.0 IN PTR ucbvax -58.0 IN PTR Icecat-Explosion -61.0 IN PTR ucbvax -62.0 IN PTR pan -65.0 IN PTR Icecat-Explosion -66.0 IN PTR Icecat-Notebook -69.0 IN PTR caasih -70.0 IN PTR staph -73.0 IN PTR ucbvax -74.0 IN PTR chenx97 -81.0 IN PTR JerryXiao -82.0 IN PTR ucbvax -85.0 IN PTR MagicNeko-JP03 -86.0 IN PTR JerryXiao -89.0 IN PTR septs -90.0 IN PTR icecat-jp3 -93.0 IN PTR septs -94.0 IN PTR frank-hsinchu -97.0 IN PTR staph -98.0 IN PTR septs -101.0 IN PTR septs -102.0 IN PTR JerryXiao -105.0 IN PTR septs -106.0 IN PTR megumiLHS -109.0 IN PTR septs -110.0 IN PTR LanTian -113.0 IN PTR septs -114.0 IN PTR ucbvax -117.0 IN PTR ucbvax -118.0 IN PTR santost12 -121.0 IN PTR MagicNeko-JP03 -122.0 IN PTR chenx97 -125.0 IN PTR septs -126.0 IN PTR MagicNeko-RU01 -129.0 IN PTR MagicNeko-JP03 -130.0 IN PTR megumiLHS -133.0 IN PTR icecat-jp3 -134.0 IN PTR frank-hsinchu -137.0 IN PTR septs -138.0 IN PTR James58899 -141.0 IN PTR ucbvax -142.0 IN PTR NeoSystem +1.0 IN PTR caasih.ucbvax.tun30.neo. +2.0 IN PTR ucbvax.caasih.tun30.neo. +9.0 IN PTR ucbvax.NeoSystem.tun30.neo. +10.0 IN PTR NeoSystem.ucbvax.tun30.neo. +13.0 IN PTR ucbvax.NeoPDP-11.tun30.neo. +14.0 IN PTR NeoPDP-11.ucbvax.tun30.neo. +17.0 IN PTR caasih.NeoPDP-11.tun30.neo. +18.0 IN PTR NeoPDP-11.caasih.tun30.neo. +21.0 IN PTR NeoSystem.NeoVAX.tun30.neo. +22.0 IN PTR NeoVAX.NeoSystem.tun30.neo. +25.0 IN PTR staph.MagicNeko-RU1.tun30.neo. +26.0 IN PTR MagicNeko-RU1.staph.tun30.neo. +29.0 IN PTR ucbvax.megumiLHS.tun30.neo. +30.0 IN PTR megumiLHS.ucbvax.tun30.neo. +41.0 IN PTR pan.NeoPDP-11.tun30.neo. +42.0 IN PTR NeoPDP-11.pan.tun30.neo. +45.0 IN PTR pan.NeoSystem.tun30.neo. +46.0 IN PTR NeoSystem.pan.tun30.neo. +49.0 IN PTR cklvax.NeoSystem.tun30.neo. +50.0 IN PTR NeoSystem.cklvax.tun30.neo. +53.0 IN PTR pan.NeoSystem.tun30.neo. +54.0 IN PTR NeoSystem.pan.tun30.neo. +57.0 IN PTR ucbvax.Icecat-Explosion.tun30.neo. +58.0 IN PTR Icecat-Explosion.ucbvax.tun30.neo. +61.0 IN PTR ucbvax.pan.tun30.neo. +62.0 IN PTR pan.ucbvax.tun30.neo. +65.0 IN PTR Icecat-Explosion.Icecat-Notebook.tun30.neo. +66.0 IN PTR Icecat-Notebook.Icecat-Explosion.tun30.neo. +69.0 IN PTR caasih.staph.tun30.neo. +70.0 IN PTR staph.caasih.tun30.neo. +73.0 IN PTR ucbvax.chenx97.tun30.neo. +74.0 IN PTR chenx97.ucbvax.tun30.neo. +81.0 IN PTR JerryXiao.ucbvax.tun30.neo. +82.0 IN PTR ucbvax.JerryXiao.tun30.neo. +85.0 IN PTR MagicNeko-JP03.JerryXiao.tun30.neo. +86.0 IN PTR JerryXiao.MagicNeko-JP03.tun30.neo. +89.0 IN PTR septs.icecat-jp3.tun30.neo. +90.0 IN PTR icecat-jp3.septs.tun30.neo. +93.0 IN PTR septs.frank-hsinchu.tun30.neo. +94.0 IN PTR frank-hsinchu.septs.tun30.neo. +97.0 IN PTR staph.septs.tun30.neo. +98.0 IN PTR septs.staph.tun30.neo. +101.0 IN PTR septs.JerryXiao.tun30.neo. +102.0 IN PTR JerryXiao.septs.tun30.neo. +105.0 IN PTR septs.megumiLHS.tun30.neo. +106.0 IN PTR megumiLHS.septs.tun30.neo. +109.0 IN PTR septs.LanTian.tun30.neo. +110.0 IN PTR LanTian.septs.tun30.neo. +113.0 IN PTR septs.ucbvax.tun30.neo. +114.0 IN PTR ucbvax.septs.tun30.neo. +117.0 IN PTR ucbvax.santost12.tun30.neo. +118.0 IN PTR santost12.ucbvax.tun30.neo. +121.0 IN PTR MagicNeko-JP03.chenx97.tun30.neo. +122.0 IN PTR chenx97.MagicNeko-JP03.tun30.neo. +125.0 IN PTR septs.MagicNeko-RU01.tun30.neo. +126.0 IN PTR MagicNeko-RU01.septs.tun30.neo. +129.0 IN PTR MagicNeko-JP03.megumiLHS.tun30.neo. +130.0 IN PTR megumiLHS.MagicNeko-JP03.tun30.neo. +133.0 IN PTR icecat-jp3.frank-hsinchu.tun30.neo. +134.0 IN PTR frank-hsinchu.icecat-jp3.tun30.neo. +137.0 IN PTR septs.James58899.tun30.neo. +138.0 IN PTR James58899.septs.tun30.neo. +141.0 IN PTR ucbvax.NeoSystem.tun30.neo. +142.0 IN PTR NeoSystem.ucbvax.tun30.neo. diff --git a/scripts/dns-reverse-generator.sh b/scripts/dns-reverse-generator.sh index a9c025d..cf5bf20 100755 --- a/scripts/dns-reverse-generator.sh +++ b/scripts/dns-reverse-generator.sh @@ -24,8 +24,8 @@ for i in *; do upstream_ip=$("$IPTOOL" "$i" 1) downstream_ip=$("$IPTOOL" "$i" 2) - print_record "$upstream_ip" "$UPSTREAM" - print_record "$downstream_ip" "$DOWNSTREAM" + print_record "$upstream_ip" "$UPSTREAM.$DOWNSTREAM.tun30.neo." + print_record "$downstream_ip" "$DOWNSTREAM.$UPSTREAM.tun30.neo." fi done ) | sort -n >> dns/db.10.127