Skip to main content
added 97 characters in body
Source Link
Ole Tange
  • 37.6k
  • 34
  • 119
  • 228

Typically the reason why you want to force which nameserver to ask is when you want to ask multiple different nameservers.

Using GNU Parallel you can do:

parallel host {1} {2} :::: hostlist.txt ::: 8.8.8.8 1.1.1.1

To see the results use --tag:

parallel --tag host {1} {2} :::: hostlist.txt ::: 8.8.8.8 1.1.1.1

Often your hostlist is quite big and by adding -j100 you can resolve 100 hosts in parallel.

Typically the reason why you want to force which nameserver to ask is when you want to ask multiple different nameservers.

Using GNU Parallel you can do:

parallel host {1} {2} :::: hostlist.txt ::: 8.8.8.8 1.1.1.1

To see the results use --tag:

parallel --tag host {1} {2} :::: hostlist.txt ::: 8.8.8.8 1.1.1.1

Typically the reason why you want to force which nameserver to ask is when you want to ask multiple different nameservers.

Using GNU Parallel you can do:

parallel host {1} {2} :::: hostlist.txt ::: 8.8.8.8 1.1.1.1

To see the results use --tag:

parallel --tag host {1} {2} :::: hostlist.txt ::: 8.8.8.8 1.1.1.1

Often your hostlist is quite big and by adding -j100 you can resolve 100 hosts in parallel.

Source Link
Ole Tange
  • 37.6k
  • 34
  • 119
  • 228

Typically the reason why you want to force which nameserver to ask is when you want to ask multiple different nameservers.

Using GNU Parallel you can do:

parallel host {1} {2} :::: hostlist.txt ::: 8.8.8.8 1.1.1.1

To see the results use --tag:

parallel --tag host {1} {2} :::: hostlist.txt ::: 8.8.8.8 1.1.1.1