「Raspberry Piでネットワーク構築/DNS, DHCPサーバ」の版間の差分
ナビゲーションに移動
検索に移動
(ページの作成:「= 概要 = {| class="wikitable" |DNS, DHCPサーバ |Dnsmasq |} = 設定 = * /etc/dnsmasq.conf <nowiki> domain-needed bogus-priv interface=IF dhcp-range=192.168.100.…」) |
(相違点なし)
|
2023年4月21日 (金) 02:47時点における最新版
概要
DNS, DHCPサーバ | Dnsmasq |
設定
- /etc/dnsmasq.conf
domain-needed bogus-priv interface=IF dhcp-range=192.168.100.100,192.168.100.200,12h
dhcp-range=tag:IF,192.168.100.100,192.168.100.200,12h
IF | ネットワークインタフェース |
domain=example.com
$ sudo systemctl restart dnsmasq
- /etc/hosts
$ dnsmasq --test