How to change the timeout interval for a nslookup reply

Use timeout parameter to change the timeout interval for a nslookup reply.

You can increase or decrease the timeout interval for a reply by a server using the -timeout parameter:

$ nslookup -timeout=19 my_domain.com

If the domain is google.com, the nslookup output with a timeout specified should be:

Server: 192.168.224.1
Address: 192.168.224.1#53

Non-authoritative answer:
Name: google.com
Address: 216.58.223.206
Name: google.com
Address: 2c0f:fb50:4003:802::200e

nslookup timeout output example