mirror of https://github.com/CrimsonTome/tldr.git
multiple pages: standardize domain examples (#3010)
This change standardizes URL examples in tldr-pages to use the canonical example.com domain. Pages changed: `dig`, `drill`, `irssi`, `salt`, and `socat`.italian
parent
bbd3c4cbca
commit
ce642b6c12
|
@ -4,19 +4,19 @@
|
||||||
|
|
||||||
- Lookup the IP(s) associated with a hostname (A records):
|
- Lookup the IP(s) associated with a hostname (A records):
|
||||||
|
|
||||||
`dig +short {{hostname.com}}`
|
`dig +short {{example.com}}`
|
||||||
|
|
||||||
- Lookup the mail server(s) associated with a given domain name (MX record):
|
- Lookup the mail server(s) associated with a given domain name (MX record):
|
||||||
|
|
||||||
`dig +short {{hostname.com}} MX`
|
`dig +short {{example.com}} MX`
|
||||||
|
|
||||||
- Get all types of records for a given domain name:
|
- Get all types of records for a given domain name:
|
||||||
|
|
||||||
`dig {{hostname.com}} ANY`
|
`dig {{example.com}} ANY`
|
||||||
|
|
||||||
- Specify an alternate DNS server to query:
|
- Specify an alternate DNS server to query:
|
||||||
|
|
||||||
`dig @{{8.8.8.8}} {{hostname.com}}`
|
`dig @{{8.8.8.8}} {{example.com}}`
|
||||||
|
|
||||||
- Perform a reverse DNS lookup on an IP address (PTR record):
|
- Perform a reverse DNS lookup on an IP address (PTR record):
|
||||||
|
|
||||||
|
@ -24,8 +24,8 @@
|
||||||
|
|
||||||
- Find authoritative name servers for the zone and display SOA records:
|
- Find authoritative name servers for the zone and display SOA records:
|
||||||
|
|
||||||
`dig +nssearch {{hostname.com}}`
|
`dig +nssearch {{example.com}}`
|
||||||
|
|
||||||
- Perform iterative queries and display the entire trace path to resolve a domain name:
|
- Perform iterative queries and display the entire trace path to resolve a domain name:
|
||||||
|
|
||||||
`dig +trace {{hostname.com}}`
|
`dig +trace {{example.com}}`
|
||||||
|
|
|
@ -4,19 +4,19 @@
|
||||||
|
|
||||||
- Lookup the IP(s) associated with a hostname (A records):
|
- Lookup the IP(s) associated with a hostname (A records):
|
||||||
|
|
||||||
`drill {{hostname.com}}`
|
`drill {{example.com}}`
|
||||||
|
|
||||||
- Lookup the mail server(s) associated with a given domain name (MX record):
|
- Lookup the mail server(s) associated with a given domain name (MX record):
|
||||||
|
|
||||||
`drill mx {{hostname.com}}`
|
`drill mx {{example.com}}`
|
||||||
|
|
||||||
- Get all types of records for a given domain name:
|
- Get all types of records for a given domain name:
|
||||||
|
|
||||||
`drill any {{hostname.com}}`
|
`drill any {{example.com}}`
|
||||||
|
|
||||||
- Specify an alternate DNS server to query:
|
- Specify an alternate DNS server to query:
|
||||||
|
|
||||||
`drill {{hostname.com}} @{{8.8.8.8}}`
|
`drill {{example.com}} @{{8.8.8.8}}`
|
||||||
|
|
||||||
- Perform a reverse DNS lookup on an IP address (PTR record):
|
- Perform a reverse DNS lookup on an IP address (PTR record):
|
||||||
|
|
||||||
|
@ -24,8 +24,8 @@
|
||||||
|
|
||||||
- Perform DNSSEC trace from root servers down to a domain name:
|
- Perform DNSSEC trace from root servers down to a domain name:
|
||||||
|
|
||||||
`drill -TD {{hostname.com}}`
|
`drill -TD {{example.com}}`
|
||||||
|
|
||||||
- Show DNSKEY record(s) for a domain name:
|
- Show DNSKEY record(s) for a domain name:
|
||||||
|
|
||||||
`drill -s dnskey {{hostname.com}}`
|
`drill -s dnskey {{example.com}}`
|
||||||
|
|
|
@ -4,11 +4,11 @@
|
||||||
|
|
||||||
- Open irssi and connect to a server with a nickname:
|
- Open irssi and connect to a server with a nickname:
|
||||||
|
|
||||||
`irssi -n {{nickname}} -c {{server.name.com}}`
|
`irssi -n {{nickname}} -c {{irc.example.com}}`
|
||||||
|
|
||||||
- Open irssi and connect with a specific server on a given port:
|
- Open irssi and connect with a specific server on a given port:
|
||||||
|
|
||||||
`irssi -c {{server.name.com}} -p {{port}}`
|
`irssi -c {{irc.example.com}} -p {{port}}`
|
||||||
|
|
||||||
- View the help:
|
- View the help:
|
||||||
|
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
|
|
||||||
- Upgrade packages using the OS package manager (apt, yum, brew) on a subset of minions:
|
- Upgrade packages using the OS package manager (apt, yum, brew) on a subset of minions:
|
||||||
|
|
||||||
`salt '*.domain.com' pkg.upgrade`
|
`salt '*.example.com' pkg.upgrade`
|
||||||
|
|
||||||
- Execute an arbitrary command on a particular minion:
|
- Execute an arbitrary command on a particular minion:
|
||||||
|
|
||||||
|
|
|
@ -8,8 +8,8 @@
|
||||||
|
|
||||||
- Create a connection to a host and port, transfer data in STDIO to connected host:
|
- Create a connection to a host and port, transfer data in STDIO to connected host:
|
||||||
|
|
||||||
`socat - TCP4:www.domain.com:80`
|
`socat - TCP4:www.example.com:80`
|
||||||
|
|
||||||
- Forward incoming data of a local port to another host and port:
|
- Forward incoming data of a local port to another host and port:
|
||||||
|
|
||||||
`socat TCP-LISTEN:80,fork TCP4:www.domain.com:80`
|
`socat TCP-LISTEN:80,fork TCP4:www.example.com:80`
|
||||||
|
|
Loading…
Reference in New Issue