Will search through tld.com instead of env.tld.com
As a user of the lib, I really felt like I want to be protected from empty string, but beyond that, I want to have full control on the domain pattern I want to run my search over.
Add now as a command line (force-tld), defaults to current behavior, so not breaking API.
Worth noting that I fully understand original intention to to search subdomain over TLD, but I am not sure I see the value in forcing this, with the new flag, it's up to the user to have a more powerful tool with out the stripping decision imposed on him.
Issue: ./dnssearch -domain env.tld.com
Will search through tld.com instead of env.tld.com
As a user of the lib, I really felt like I want to be protected from empty string, but beyond that, I want to have full control on the domain pattern I want to run my search over.
Add now as a command line (force-tld), defaults to current behavior, so not breaking API.
Worth noting that I fully understand original intention to to search subdomain over TLD, but I am not sure I see the value in forcing this, with the new flag, it's up to the user to have a more powerful tool with out the stripping decision imposed on him.