{bash,zsh}rc: specify LOCALDOMAIN & RES_OPTIONS

This commit is contained in:
Aminda Suomalainen 2024-04-23 19:26:33 +03:00
parent c48bd12974
commit ba55b2c9e9
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q
2 changed files with 12 additions and 0 deletions

View File

@ -254,6 +254,12 @@ export LSCOLORS=gxBxhxDxfxhxhxhxhxcxcx
# znc uses this variable for figuring out hostname
#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 #####
# To get sudo work with aliases.

View File

@ -213,6 +213,12 @@ export LSCOLORS=gxBxhxDxfxhxhxhxhxcxcx
# znc uses this variable for figuring out hostname
#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 #####
# To get sudo work with aliases.