-- Leo's gemini proxy

-- Connecting to git.thebackupbox.net:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini

repo: resdb
action: commit
revision:
path_from:
revision_from: d274b0700d125cc9960014eeb80aeee5679a2f0a:
path_to:
revision_to:

git.thebackupbox.net

resdb

git://git.thebackupbox.net/resdb

commit d274b0700d125cc9960014eeb80aeee5679a2f0a
Author: pragmo <pragmo@pragmo.ano>
Date:   Thu Oct 28 23:17:35 2010 +0000

    pragmo.ano NS updated
    dnsmasq_tld_conffile updated to automatically fetch the NS correct IP

diff --git a/db/ip/01/00/11/ns/b30a3fc880c970d4b4f945dd82af4de2.ns.pragmo.ano b/db/ip/01/00/11/ns/b30a3fc880c970d4b4f945dd82af4de2.ns.pragmo.ano
new file mode 100644
index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391
diff --git a/scripts/nameserver_autogen/dnsmasq_tld_conffile b/scripts/nameserver_autogen/dnsmasq_tld_conffile

index 83ea34894914c9fbb54f7e9d3264f243e3b77582..

index ..20eefd1f482218f9e891cbca1cc91539f26c8daa 100755

--- a/scripts/nameserver_autogen/dnsmasq_tld_conffile
+++ b/scripts/nameserver_autogen/dnsmasq_tld_conffile
@@ -15,11 +15,11 @@ for a in $($LS db/ip/); do
 	for b in $($LS db/ip/${a}); do
 		for c in $($LS db/ip/${a}/${b}); do
 			if [ -d db/ip/${a}/${b}/${c}/ns/ ]; then
-			 	for ns in $(cat db/ip/${a}/${b}/${c}/ns/*); do
+			 	for ns in $($LS db/ip/${a}/${b}/${c}/ns/); do
 					A1=$(scripts/hex2dec ${a})
 					B1=$(scripts/hex2dec ${b})
 					C1=$(scripts/hex2dec ${c})
-					STR="server=/${C1}.${B1}.${A1}.in-addr.arpa/${ns}"
+					STR="server=/${C1}.${B1}.${A1}.in-addr.arpa/$(scripts/ns2ip -f ${ns})"
 					echo $STR
 				done
 			fi
@@ -31,8 +31,8 @@ echo

 for tld in $($LS db/dom/); do
 	for domain in $($LS db/dom/${tld}/); do
-		for ns in $(cat db/dom/${tld}/${domain}/ns/*); do
-			STR="server=/${domain}.${tld}/${ns}"
+		for ns in $($LS db/dom/${tld}/${domain}/ns/); do
+			STR="server=/${domain}.${tld}/$(scripts/ns2ip -f ${ns})"
 			echo $STR
 		done;
 	done;

-----END OF PAGE-----

-- Response ended

-- Page fetched on Sun Jun 2 09:40:21 2024