This an example of nostr:nprofile1qythwumn8ghj7ct5d3shxtnwdaehgu3wd3skuep0qyvhwumn8ghj7er9wfnkjemf9ehx7um5wgcjucm0d5hsqgrwg6zz9hahfftnsup23q3mnv5pdz46hpj4l2ktdpfu6rhpthhwjv7cfww2 's nip05 info being propagated with the DNS system using #dnspub and retrieved as a TXT service record. Works in real-time for any npub. The URI is below.

_nip05.npub1dergggklka99wwrs92yz8wdjs952h2ux2ha2ed598ngwu9w7a6fsh9xzpc.npub.dnspub.xyz

Reply to this note

Please Login to reply.

Discussion

πŸ‘€

Is this mine?

_nip05.npub17nd4yu9anyd3004pumgrtazaacujjxwzj36thtqsxskjy0r5urgqf6950x.npub.dnspub.xyz

Can you please explain this like my mother took Tylenol while I was in utero

Global telephone directory where I can do a reverse lookup on your number to find your payment information.

My browser keeps removing the _ and not resolving

The browser is looking for a website. This is a DNS TXT record lookup.

Gotcha. The DNS lookup isn’t working on my side but will have to try again later

Had to run the propagation check a few times before it started returning

Yeah, caching. Google is super-finicky on demanding fast responses.

For cli peeps, above can be done with net-tools:

`dibbuk# nslookup -q=txt _nip05.npub1f0restzwusrck2k62dq2ueelrrfmdfnyk8uhart8n8nqwn94cwwsppm0sa.npub.dnspub.xyz

Server: 192.168.0.1

Address: 192.168.0.1#53

Non-authoritative answer:

_nip05.npub1f0restzwusrck2k62dq2ueelrrfmdfnyk8uhart8n8nqwn94cwwsppm0sa.npub.dnspub.xyz text = "shinohai@btc.info.gf"`

Is avatar in the kind 0 profile? Then it should be _avatar

_picture give you the avatar

Sweet I got it working, thx.

`dig TXT _picture.npub1f0restzwusrck2k62dq2ueelrrfmdfnyk8uhart8n8nqwn94cwwsppm0sa.npub.dnspub.xyz | awk '/^_picture/ { gsub(/"/, "", $NF); print $NF }'`

πŸ‘† for the curious.

It works! Makes me pine for awk.

yus! Amazing you can view entire profile using naught but dig and awk.

Yeah, thanks for doing this!