Shell Commands/OFDNS

From MorphOS Library

< Shell Commands

OFDNS - Performs DNS lookups

This command uses non-standard arguments. Type 'OFDNS -h' in a Shell for a complete documentation of its arguments.

Usage: OFDNS -[chst] domain1 [domain2 ...]

Options:
    -c  --class=   The DNS class to query (defaults to IN)
    -h  --help     Show this help
    -s  --server=  The server to query
    -t  --type=    The record type to query (defaults to AAAA and A,
                   can be repeated)
        --tcp      Force using TCP for the query
        --version  Print the version information

Example:

OFDNS google.com