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

Add support for corporate proxies #20

Merged
merged 2 commits into from
Jun 29, 2012
Merged

Conversation

benjaminkeeping
Copy link
Contributor

Hi,
I'm working on a contract at a company behind a corporate proxy, so couldn't use your client ... but I've added support for it.

In the .dnsimple file, add these two optional settings :

proxy_addr: proxy.acmecorp.com
proxy_port: 8080

Those settings are then passed to httparty.
If the proxy settings are not present, things work as normal (ie as if there is no proxy)

Cheers,
Ben

@benjaminkeeping
Copy link
Contributor Author

Hi, I've also fixed a bug in delete_record.rb.

Basically, change :

record = Record.find(domain.name, id)

to

record = Record.find(domain, id)

@aeden aeden merged commit 524e184 into dnsimple:master Jun 29, 2012
@weppos weppos changed the title add support for corporate proxies Add support for corporate proxies May 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants