mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-22 11:19:22 +01:00
{bash,zsh}rc: specify LOCALDOMAIN & RES_OPTIONS
This commit is contained in:
parent
c48bd12974
commit
ba55b2c9e9
@ -254,6 +254,12 @@ export LSCOLORS=gxBxhxDxfxhxhxhxhxcxcx
|
|||||||
# znc uses this variable for figuring out hostname
|
# znc uses this variable for figuring out hostname
|
||||||
#export HOSTNAME=$(hostname --fqdn)
|
#export HOSTNAME=$(hostname --fqdn)
|
||||||
|
|
||||||
|
# Ensure not leaking queries to upstream nameservers (resolv.conf)
|
||||||
|
export LOCALDOMAIN=.
|
||||||
|
# Secureish resolv.conf options (except trust-ad, but systemd also sets it
|
||||||
|
# regardless of whether DNSSEC=true or not.
|
||||||
|
export RES_OPTIONS="edns0 trust-ad timeout:1 attempts:5"
|
||||||
|
|
||||||
##### Aliases RJ706I #####
|
##### Aliases RJ706I #####
|
||||||
|
|
||||||
# To get sudo work with aliases.
|
# To get sudo work with aliases.
|
||||||
|
6
rc/zshrc
6
rc/zshrc
@ -213,6 +213,12 @@ export LSCOLORS=gxBxhxDxfxhxhxhxhxcxcx
|
|||||||
# znc uses this variable for figuring out hostname
|
# znc uses this variable for figuring out hostname
|
||||||
#export HOSTNAME=$(hostname --fqdn)
|
#export HOSTNAME=$(hostname --fqdn)
|
||||||
|
|
||||||
|
# Ensure not leaking queries to upstream nameservers (resolv.conf)
|
||||||
|
export LOCALDOMAIN=.
|
||||||
|
# Secureish resolv.conf options (except trust-ad, but systemd also sets it
|
||||||
|
# regardless of whether DNSSEC=true or not.
|
||||||
|
export RES_OPTIONS="edns0 trust-ad timeout:1 attempts:5"
|
||||||
|
|
||||||
##### Aliases RJ706I #####
|
##### Aliases RJ706I #####
|
||||||
|
|
||||||
# To get sudo work with aliases.
|
# To get sudo work with aliases.
|
||||||
|
Loading…
Reference in New Issue
Block a user