Skip to content
This repository has been archived by the owner on Dec 7, 2018. It is now read-only.

Filter CNAME results from the resolver answer. #14

Merged
merged 1 commit into from
Apr 4, 2012

Conversation

unakatsuo
Copy link
Contributor

Celluloid::IO::DNSResolver got error when the the answer includes CNAME. This change is for fixing it.

@tarcieri
Copy link
Member

tarcieri commented Apr 3, 2012

Does this actually make CNAMEs resolve?

tarcieri added a commit that referenced this pull request Apr 4, 2012
Filter CNAME results from the resolver answer.
@tarcieri tarcieri merged commit 47ed0f7 into celluloid:master Apr 4, 2012
@unakatsuo
Copy link
Contributor Author

response.each_answer{} iterates both CNAME and A records when it queries aliased hostname with the request type A. For the address resolution, it just need to collect A records. CNAMEs can be ignored.

anyway, thanks for merging it.

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

Successfully merging this pull request may close these issues.

2 participants