-
Notifications
You must be signed in to change notification settings - Fork 467
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
-t A options resolves with CNAME #92
Comments
This is desired behavior as massdns just outputs the raw DNS responses. However, CNAME flattening would be a nice optional feature. I am closing this as it is the same request as in issue #1. |
Was there ever a way around this? I'm using:
And this correctly gets the A records, but also the CNAME records. What I'm having to do, is add in another step in my Perl script, which finds those CNAME values, and then grabs the A records for the CNAME value: ` if ($type eq "A") {
Its a bit messy and slow, so if there is a better way to do it I'd appreciate a pointer #6 Thanks Andy |
Now I am using
massdns
to explicitly get only A records:massdns -r $resolvers -t A -o S -w ./output.txt ./subdomains.txt
But I got output with CNAMEs too:
# output.txt 0-honeybee.k8s-exp.shopifykloud.com. A 193.58.251.1 _config_.web.mdm.global.druid.shopifykloud.com. CNAME FimglNohlfcjecje._config_.web.mdm.global.druid.shopifykloud.com.
The text was updated successfully, but these errors were encountered: