SEARCH
TOOLBOX
LANGUAGES
Dns

Dns

From Chaehyun

Revision as of 14:47, 7 February 2013 by Xlos (Talk | contribs)
Jump to: navigation, search

Contents

FQDN 정리

  • hostname -f 하면 나옴

/etc/resolve.conf

  • nameserver : Name server IP address
  • domain : local domain name / 이 도메인 내의 호스트의 경우, 짧게 써도 된다
  • search : search list for host-name lookup / 일반적으로 local domain name으로 결정됨
  • domain과 search는 mutually exclusive이다. 중복해서 나오면, 마지막에 써진 넘이 적용됨

/etc/hosts

ec2에서는

  • elastic ip를 쓰더라도, instance가 꺼지면 mapping이 없어짐. 다시 연결해줘야함
  • /etc/init.d/networking restart
  • tcping ec2-174-129-24-92.compute-1.amazonaws.com 22
    • ping 대신 사용
Retrieved from "http://chaehyun.kr/w/Dns"