shithub: riscv

ref: 037bc7b4328948994f8b8fa2be487aac1cca835f
dir: /sys/lib/dist/ndb/mkfile/

View raw version
dnsroot:V:
	hget https://www.internic.net/domain/root.zone | awk '
		BEGIN { print "# this file is autogenerated from /sys/lib/dist/ndb/mkfile" };
		match($1, "\\.root-servers\\.net\\.") != 0 && \
		($4 == "A" || $4 == "AAAA") {
			dom = toupper($1);
			sub("\\.$", "", dom);
			printf("dom=%s ip=%s\n", dom, $5);
		}' > $target