-
Notifications
You must be signed in to change notification settings - Fork 22
Conversation
The following response expamles assume this DNS TXT record: | ||
|
||
``` | ||
ipfs.io. TXT "dnslink=/ipfs/QmRzTuh2Lpuz7Gr39stNr6mTFdqAghsZec1JoUnfySUzcy ..." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is there a .
after ipfs.io
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't know.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@whyrusleeping @lgierth is this correct, or a typo?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It doesn't do harm, but I'd remove it. With CNAME records the record value has to end in .
though :) E.g. foobar.com CNAME gateway.ipfs.io.
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Weird. This is what is in the go-ipfs docs; should I PR those?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure, probably that was just copy paste
Needs rebase |
Will get to that when closer to merge. |
It is to follow till it finds an IPFS hash in a subdomain of the domain being looked up. The help menu has an example:
|
It is not useful. See ipfs-inactive/http-api-spec#41 (comment) License: MIT Signed-off-by: Richard Littauer <[email protected]>
See ipfs-inactive/http-api-spec#41 (comment) License: MIT Signed-off-by: Richard Littauer <[email protected]>
@diasdavid how can I handily test recursive to produce a reliable output for the http-api? |
@lgierth could you create a TXT record on ipfs.ipfs.io with |
@RichardLitt needs rebase |
@dignifiedquire I know, thanks. Because of the way the master file is structured, each will need a rebase. If I haven't merged it, it's because I'm waiting for something from the assigned person. |
The following examples assume this DNS TXT record: | ||
|
||
``` | ||
ipfs.io TXT "dnslink=/ipfs/QmRzTuh2Lpuz7Gr39stNr6mTFdqAghsZec1JoUnfySUzcy ..." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The hash later on is a different one
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe it'd be useful to use the dig
command for DNS resolution? It'd give less experienced readers the tools they need in order to replicate what's being said. For example:
> dig +short TXT ipfs.io
dnslink=/ipfs/QmRzTuh2Lpuz7Gr39stNr6mTFdqAghsZec1JoUnfySUzcy
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure. I think adding in CLI commands might be confusing?
This LGTM with one change:
The example works as is -- Sorry for blocking this so long :/ |
I was unable to get `recursive` working, and I'm not quite sure what it means or when it would be used. The example in the man pages seems to imply it is the default.
LGTM 👍 |
Thanks @lgierth! And no worries, wasn't blocked long. |
I was unable to get
recursive
working, and I'm not quite sure what it means or when it would be used. The example in the man pages seems to imply it is the default.