Please help us improve HowtoForge and take our survey:
DNS
Resolving domain names with digTo resolve a domain name on the shell, you can use the command dig. Resolving the domain example.com: dig example.com If thedomain can be resolved, the result will be similar to this: ; DiG 9.2.1 howtoforge.com ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 42946 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;example.com. IN A ;; ANSWER SECTION: example.com. 84600 IN A 192.168.0.1 ;; Query time: 27 msec ;; SERVER: 212.227.21.251#53(212.227.21.251) ;; WHEN: Wed Oct 26 18:53:32 2005 ;; MSG SIZE rcvd: 48 To check if the local webserver is responsible for this domain use the following command: read more... | login or register to post comments |
email this page | view as pdf | printer-friendly version"Facebook" is a registered trademark of Facebook, Inc. All rights reserved. |







Recent comments
1 day 3 hours ago
2 days 3 min ago
2 days 2 hours ago
2 days 6 hours ago
3 days 23 hours ago
3 days 23 hours ago
4 days 42 min ago
6 days 2 hours ago
1 week 10 hours ago
1 week 1 day ago