[Up]常用資訊

[重點文章] 重點文章 [重點文章] 重點文章

2017年11月22日 星期三

test 2

test 2



#!/bin/bash
dsflkds;lfks sdlfk;salkfd
 
#!/bin/bash
X=3
Y=4
empty_string=""
if [ $X -lt $Y ]  # is $X less than $Y ?
then
  echo "\$X=${X}, which is smaller than \$Y=${Y}"
fi
 
if [ -n "$empty_string" ]; then
  echo "empty string is non_empty"
fi
 
if [ -e "${HOME}/.fvwmrc" ]; then             # test to see if ~/.fvwmrc exists
  echo "you have a .fvwmrc file"
  if [ -L "${HOME}/.fvwmrc" ]; then       # is it a symlink ?
      echo "it's a symbolic link"
  elif [ -f "${HOME}/.fvwmrc" ]; then     # is it a regular file ?
      echo "it's a regular file"
  fi
else
  echo "you have no .fvwmrc file"
fi

2017年11月7日 星期二

Debina 8 Bind DNS forward 到 F5 GTM 不work

我在Debian 8 的 Bind DNS(BIND 9.10.3-P4-Debian)當forward 到 F5-DNS 時候竟然無法查詢 F5-DNS 上的紀錄

tcpdump 紀錄有看到紀錄但卻沒有回到 client 上


client 卻看到

調整
 /etc/bind/named.conf.options 由

變成



重啟bind dns 

/etc/init.d/bind9 restart

確認查詢正常


搞定收工