On 3 Nov 2018, at 23:32, Måns Nilsson wrote: > _http._tcp.example.org. IN URI 10 20 > "https://example-lb-frontend.hosting.namn.se:8090/path/down/in/filestructure/"
Btw, this is sort of what I am thinking of for URI, cooked up directly after dinner. Could be a wrapper around curl that fetches stuff. Probably hundreds of bad stuff in what I have below, but still...you get the point. You can try with http://www.frobbit.se/ or http://frobbit.se/ for example, as I have URI records for them. #!/bin/sh PREFIX=_http._tcp DOMAIN=`echo "$1" | sed 's/^.*\/\/\([^\/]*\)\/.*$/\1/'` QUERY=`echo "$1" | sed 's/^.*\/\/[^\/]*\/\(.*\)$/\1/'` URI=`dig "$PREFIX.$DOMAIN." URI +short` if [ "x$URI" = x ]; then NEWURI="$1" else NEWURI="`echo $URI | awk '-F"' '{ print $2 }'`${QUERY}" fi echo curl -H "HOST:$DOMAIN" "$NEWURI"
signature.asc
Description: OpenPGP digital signature
_______________________________________________ DNSOP mailing list DNSOP@ietf.org https://www.ietf.org/mailman/listinfo/dnsop