dnsmasq:内向けサーバー(Aterm)


まずdnsmasqをインストール
# yum -y install dnsmasq(インストールされているかもしれない)

resolv.confを編集
``# vi /etc/resolv.conf
nameserver 127.0.0.1
となるように編集

dnsmasq.confを編集
# vi /etc/dnsmasq.conf
no-dhcp-interface=p2p1
を追記

hostsを編集
# vi /etc/hosts
192.168.11.100 hogehoge.hoge
を追記(IPはサーバーを指定)

dnsmasqを起動・登録
# systemctl start dnsmasq
# systemctl enable dnsmasq

AtemrのDNSルーティングに登録
宛先ドメイン名:hogehoge.hoge
ゲートウェイ:192.168.11.1
プライマリDNS:192.168.11.100