Belajar Sendiri

Commands

dig

dig [+short] <name>

Risk: Safe

What it does

Asks DNS, the phone book, for a name. It skips /etc/hosts.

When to use it

To see what the world's phone book says.

Example

$ dig +short kedai.example

Only the answer: its number.

$ dig kedai.example

The whole reply, with the time to live (TTL).