DNS Lookup
Why do we need it?
As our main purpose is to check the availability of the given subjects, we make a DNS lookup to determine it.
How does it work?
For domains
In order:
Request the
NSrecord.If not found, request the
Arecord.If not found, request the
AAAArecord.If not found, request the
CNAMErecord.If not found, request the
DNAMErecord.
Warning
If none is found, we call the UNIX/C equivalent of getaddrinfo().
For IP
We request the PTR record for the IP.
Warning
If none is found, we call the UNIX/C equivalent of gethostbyaddr()
or getaddrinfo().
How to use it?
It is activated by default but if not simply change
lookup:
# Activates the usage of the DNS lookup.
dns: False
to
lookup:
# Activates the usage of the DNS lookup.
dns: True
into your personal .PyFunceble.yaml or use the --no-whois
argument from the CLI to reactivate it.