Browse Source

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`.
Lucas Gabriel Schneider 5 years ago
parent
commit
ce642b6c12
5 changed files with 17 additions and 17 deletions
  1. 6 6
      pages/common/dig.md
  2. 6 6
      pages/common/drill.md
  3. 2 2
      pages/common/irssi.md
  4. 1 1
      pages/common/salt.md
  5. 2 2
      pages/common/socat.md

+ 6 - 6
pages/common/dig.md

@@ -4,19 +4,19 @@
 
 - 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):
 
-`dig +short {{hostname.com}} MX`
+`dig +short {{example.com}} MX`
 
 - 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:
 
-`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):
 
@@ -24,8 +24,8 @@
 
 - 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:
 
-`dig +trace {{hostname.com}}`
+`dig +trace {{example.com}}`

+ 6 - 6
pages/common/drill.md

@@ -4,19 +4,19 @@
 
 - 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):
 
-`drill mx {{hostname.com}}`
+`drill mx {{example.com}}`
 
 - 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:
 
-`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):
 
@@ -24,8 +24,8 @@
 
 - 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:
 
-`drill -s dnskey {{hostname.com}}`
+`drill -s dnskey {{example.com}}`

+ 2 - 2
pages/common/irssi.md

@@ -4,11 +4,11 @@
 
 - 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:
 
-`irssi -c {{server.name.com}} -p {{port}}`
+`irssi -c {{irc.example.com}} -p {{port}}`
 
 - View the help:
 

+ 1 - 1
pages/common/salt.md

@@ -12,7 +12,7 @@
 
 - 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:
 

+ 2 - 2
pages/common/socat.md

@@ -8,8 +8,8 @@
 
 - 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:
 
-`socat TCP-LISTEN:80,fork TCP4:www.domain.com:80`
+`socat TCP-LISTEN:80,fork TCP4:www.example.com:80`