V-antena and Tanimoto's page

谷本の備忘録・雑記帳・work

>

simle DNS

―――- server side ――
$ sudo apt-get update
$ sudo apt-get install dnsmasq

$ sudo nano /etc/hosts

192.168.2.199 windows7pro
192.168.2.197 debian
192.168.2.198 centos6
192.168.2.192 ubuntu

――― linux client side ――

add
dns-nameserver ‘IP of setted dnsmasq server’
なお、一番先頭にもってこないと、debian以外はうまくいかず

――――-added on 2016/3/13 ――――――
Don’t forget updating of /etc/resolv.conf
――――――――――――――――――――

――― windows client side ――

properties でDNSに追加

詳細設定のDNSのところで、さらに、
a single period (.) を追加が必要

―added on 2016/3/13――――――
at command prompt, the following command may be necessary ipconfig /flushdns

―added on 2016/3/19―――――――-
If and When the dnsmasq server is rebooted, “ipconfig/flushdns” may be necessary.
Though I don’t know why.

―-added on 2016/4/11―――――――
I don’t know the reason,but windows side couldn’t resolve right IP address. Restarting of Windows was necessary.

Leave a Comment

入力エリアすべてが必須項目です。メールアドレスが公開されることはありません。

内容をご確認の上、送信してください。

CAPTCHA



あなたはIPv4でアクセスしています