Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DOTNAV] Add resolve subdomains option to resolvename #911

Closed
aguycalled opened this issue Jan 18, 2022 · 2 comments · Fixed by #916
Closed

[DOTNAV] Add resolve subdomains option to resolvename #911

aguycalled opened this issue Jan 18, 2022 · 2 comments · Fixed by #916

Comments

@aguycalled
Copy link
Member

Add a boolean option to resolvename so it also shows the different subdomains of a name.

Example:

resolvename navcoin.nav Output:

{
  "_expiry": "6978256",
  "_key": "acce5028f8e7c95a4e3f676e76b3fddb21db12b42de9182aa0cd047d282e35ff7f64b4cf12d02897d79f558e94c6cb14",
  "ip": "127.0.0.1"
}

resolvename Navcoin.nav true Output:

{
  "_expiry": "6978256",
  "_key": "acce5028f8e7c95a4e3f676e76b3fddb21db12b42de9182aa0cd047d282e35ff7f64b4cf12d02897d79f558e94c6cb14",
  ".": {
    "ip": "127.0.0.1"
  },
  "www": {
    "ip": "8.8.8.8"
  }
}
@mxaddict
Copy link
Contributor

@aguycalled I'm working on this now

@mxaddict
Copy link
Contributor

mxaddict commented Jan 21, 2022

@aguycalled I think maybe something like this would be easier to use?

{
  "_expiry": "6978256",
  "_key": "acce5028f8e7c95a4e3f676e76b3fddb21db12b42de9182aa0cd047d282e35ff7f64b4cf12d02897d79f558e94c6cb14",
  "_subdomains": {
    ".": "127.0.0.1",
    "www": "8.8.8.8"
  }
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants