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

Reverse DNS and reserved IP functionality #34

Open
grinay opened this issue Apr 19, 2018 · 8 comments
Open

Reverse DNS and reserved IP functionality #34

grinay opened this issue Apr 19, 2018 · 8 comments

Comments

@grinay
Copy link

grinay commented Apr 19, 2018

Hi. I'm just want to suggest add function that i need.
I need to have ability create reserved IP and also set reverse dns record for IPs.
Thank.

@squat
Copy link
Owner

squat commented Apr 20, 2018

@grinay thanks for bringing this up. I've never used this functionality myself but I'm glad to hear about it. This issue will require two pieces:

  • add reverse DNS to the IP resource
  • implement the reserved IP resource (c8cc3a1)

Please let me know if I understood incorrectly.

@grinay
Copy link
Author

grinay commented Apr 21, 2018 via email

@rtizzy
Copy link

rtizzy commented Jul 16, 2018

@squat

Can you confirm how to utilize the reserved IP functionality? I'd like to attach one to a server for VPN functionality.

The quoted commit doesn't seem to be about that functionality

@rtizzy
Copy link

rtizzy commented Jul 16, 2018

From what I can tell, this was the commit you're referring to

c8cc3a1

@squat
Copy link
Owner

squat commented Jul 16, 2018

@rtizzy, very right. Thanks I just updated the comment.

With a reserved IP you can create an IP separately from your VPS and keep it even after you tear down your servers or other Vultr infra. This way you can tie your DNS to a known value and it will remain known.

If you want to have a reserved IP that survives infra churn, then you may want to have to separate terraform configurations. Otherwise you can do it all in one. The general idea is:

  • create server
  • create reserved_ip attached to server
  • create DNS tied to reserved_ip.cidr
  • use server and DNS record as you wish in your manifests

@grant-veepshosting
Copy link

I think this request is an excellent idea, it's always a good idea to have the A/PTR records in sync - especially if acting as an MTA.

I don't understand why we'd meed to consider a reserved IP? After being dynamically assigned a public IPv4 address, it should be a boolean defaulting to 'true' to also set the PTR record to match, if it's exposed via the API.

It seems to already be references in this upstream library: vendor/github.com/JamesClonk/vultr/lib/ip.go

@squat
Copy link
Owner

squat commented Sep 26, 2018

Yes, this would also work. Reserved IPs were discussed in this thread simply because the original issue author said they required that feature.

@hielee
Copy link

hielee commented Feb 12, 2019

Is there a timeline for when the Reverse DNS support will be shipped?

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

Successfully merging a pull request may close this issue.

5 participants