Commit Graph

2 Commits

Author SHA1 Message Date
Jeff Cody
0b6845eed8
Update header comment for fake_resolver.go 2020-01-31 23:08:58 -05:00
Jeff Cody
3bb649f175
Add custom fake resolver
This adds a custom resolver, that will always resolve to the specified
ip address.  The intended usage is for when doing name-based scans,
but have a specified IP address as well.  This will provide a resolver
that can be added to a Dialer, that will cause all DNS lookups to match
the specified IP address.
2020-01-29 18:55:05 -05:00