Skip to content

Instantly share code, notes, and snippets.

@saurabh-sp-tripathi
Last active May 19, 2023 19:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save saurabh-sp-tripathi/86b83470950a23684fa34846726aa1a9 to your computer and use it in GitHub Desktop.
Save saurabh-sp-tripathi/86b83470950a23684fa34846726aa1a9 to your computer and use it in GitHub Desktop.
dump all you notes here
#Linux #DNS #resolv.conf
resolve.conf:
- define dns: `nameserver x.x.x.x`
- define domain: |`search abc.xyz.com another.domain.com`
This sits as a suffix to domain name
nslookup txmyserver
Name: txmyserver.abc.xyz.com
Address: 10.10.10.10
- troubleshot:
- NO VPN: dns resolution times out: 1. powsershell[ipconfig /all]; identify(dns) 'e.g.:10.0.0.1'. 2. wsl > resolv.conf > nameserver 10.0.0.1
Use linux gnu default password manager pass:
- gpg --list-public-keys
- gpt --edit-key 12345...
- trust
- save
- pass init 1234...
- pass insert <key>
Database utility:
- tnsping <database_naem> e.g. - tnsping mydb
- this a windows product
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment