LoginSignup
0
0

More than 5 years have passed since last update.

EdgeRouter X でホスト名の静的マッピングを行う

Posted at

背景

外部からドメインでサーバへアクセスできるが、LAN内からはローカルIPアドレスを指定する必要がある。
これを解決するためにはLAN内にBINDなどのDNSをサーバを立てる必要がある。
しかし、BINDの脆弱性なども盛んに議論になっていて奥深そうでめんどくさそうだ。
そこで、EdgeRouter X のstatic-host-mappingで解決を行う。

行った設定

[hostname]を192.168.0.2に割り当てる。

# set system static-host-mapping host-name [hostname] inet 192.168.0.2
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0