You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Edge Router can function as a little DNS Server. But keep in mind that this is only a basic DNS Server. You can only configure A Records.
3
+
4
+
## enable DNS
5
+
Which Interface should be allowed to query the DNS Server ?
6
+
7
+
```bash
8
+
set service dns forwarding listen-on eth2.10
9
+
set service dns forwarding listen-on eth2.20
10
+
set service dns forwarding listen-on eth2.30
11
+
set service dns forwarding listen-on eth2
12
+
```
13
+
14
+
## add an entry
15
+
You just need the IP Address and the hostname. You have to give the "static-host-mapping" a name. In this case it's `cgn-qemu-01` but this has nothing to do with the DNS name.
16
+
Just make sure that this is unique.
17
+
18
+
```bash
19
+
set system static-host-mapping host-name cgn-qemu-01 alias cgn-qemu-01.example.com
20
+
set system static-host-mapping host-name cgn-qemu-01 inet 10.10.99.130
21
+
```
22
+
23
+
You can also have more then one Hostname pointing to one IP Address
24
+
25
+
```bash
26
+
set system static-host-mapping host-name cgn-vm-win10 alias cgn-vm-win10.example.com
27
+
set system static-host-mapping host-name cgn-vm-win10 alias cgn-win-mgmt.example.com
28
+
set system static-host-mapping host-name cgn-vm-win10 alias prtg.example.com
29
+
set system static-host-mapping host-name cgn-vm-win10 inet 10.10.99.111
0 commit comments