Closed m0x61h0x64i closed 1 year ago
Thanks for the post.
but when im tring to access http://b8f6db9b1e57:5380/ nothing shows...
The message shown uses the hostname to generate the URL. In this case its the docker container's hostname which may not resolve from elsewhere. You must thus use the IP address of the server instead of the hostname in the URL to access the web panel.
@ShreyasZare thanks for reply, i got the ip address from docker inspect <container id>
it gave me 172.17.0.1
as IPAddress but when i open 172.17.0.1:5380
nothing shows...
@ShreyasZare thanks for reply, i got the ip address from
docker inspect <container id>
it gave me172.17.0.1
as IPAddress but when i open172.17.0.1:5380
nothing shows...
Use the IP of your host machine instead of the container's internal IP.
@ShreyasZare, i used all ips listed here :
$ip --color a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
2: enp4s0f2: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN group default qlen 1000
link/ether ac:22:0b:71:97:1f brd ff:ff:ff:ff:ff:ff
3: wlp3s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
link/ether 24:0a:64:17:9d:eb brd ff:ff:ff:ff:ff:ff
inet 192.168.204.49/24 brd 192.168.204.255 scope global dynamic noprefixroute wlp3s0
valid_lft 2579sec preferred_lft 2579sec
inet6 fe80::49fa:500d:8cf1:f6ba/64 scope link noprefixroute
valid_lft forever preferred_lft forever
4: br-2ab8c0a9f809: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default
link/ether 02:42:68:89:68:69 brd ff:ff:ff:ff:ff:ff
inet 172.19.0.1/16 brd 172.19.255.255 scope global br-2ab8c0a9f809
valid_lft forever preferred_lft forever
5: docker0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default
link/ether 02:42:e7:92:17:45 brd ff:ff:ff:ff:ff:ff
inet 172.17.0.1/16 brd 172.17.255.255 scope global docker0
valid_lft forever preferred_lft forever
12: br-2daf30c13e07: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default
link/ether 02:42:82:3e:0e:1f brd ff:ff:ff:ff:ff:ff
inet 172.18.0.1/16 brd 172.18.255.255 scope global br-2daf30c13e07
valid_lft forever preferred_lft forever
24: vethf473d5c@if23: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master docker0 state UP group default
link/ether f2:d7:75:c2:c0:8e brd ff:ff:ff:ff:ff:ff link-netnsid 0
still i cant open app i tested this way-> ip:5380
Run netstat -nlpt | grep 5380
command and check if the port is listening to confirm if its actually running.
@ShreyasZare, nothing shows...
$sudo netstat -nlpt | grep 5380
Then your container is not running. Check docker container status.
@ShreyasZare its running
I am not sure what the issue is here. Seems to be something specific to your system since if the container is setup with port 5380 then it should show up in netstat command.
@ShreyasZare, its now running on port 5380. i just put the -p before app name in this command and solve the issue :
docker run -p 5380:5380 technitium/dns-server
but another problem is that i configured the environment
in docker-compose.yml file but im not getting those configs in my app...
in my app i see :
but i configured environment
like this :
when i try to add these two : 178.22.122.100:5353 185.51.200.2:5353 as forwarders, after i save settings, they dont work.
The environment variables work only the first time the DNS server starts. So, when the config files are generated, the environment variables are not used. So, you need to manually configure the forwarders now from the web panel.
If the forwarders you added manually are not working then check the DNS logs from the web panel to know what went wrong. Post any errors you see here if you need help understanding them.
after i installed docker image i ran this command :
but when im tring to access http://b8f6db9b1e57:5380/ nothing shows...
docker-compose.yml :
how can i fix this? i cant open app.