merasabkuch commited on
Commit
dbc64c6
·
verified ·
1 Parent(s): 1e7a17e

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +6 -4
Dockerfile CHANGED
@@ -9,16 +9,18 @@ RUN mkdir -p /etc/dnsmasq.d
9
 
10
  # Create dnsmasq.conf inline
11
  RUN echo ' \
12
- # Redirect google.com to the IP of srsbkn.eu.org \n\
13
- address=www.lehrastudio.com/195.179.239.105 # Replace 192.0.2.1 with the IP of srsbkn.eu.org \n\
14
  # Log DNS queries (optional) \n\
15
  log-queries \n\
16
  # Set DNSmasq to listen on all interfaces \n\
17
  listen-address=0.0.0.0 \n\
 
 
18
  ' > /etc/dnsmasq.conf
19
 
20
  # Expose port 7860 (the custom DNS port)
21
  EXPOSE 7860/udp
22
 
23
- # Command to start dnsmasq in the foreground and listen on port 7860
24
- CMD ["dnsmasq", "-k", "--port=7860"]
 
9
 
10
  # Create dnsmasq.conf inline
11
  RUN echo ' \
12
+ # Redirect lehrastudio.com to the IP of 195.179.239.105 \n\
13
+ address=/lehrastudio.com/195.179.239.105 \n\
14
  # Log DNS queries (optional) \n\
15
  log-queries \n\
16
  # Set DNSmasq to listen on all interfaces \n\
17
  listen-address=0.0.0.0 \n\
18
+ # Specify the port for DNS queries \n\
19
+ port=7860 \n\
20
  ' > /etc/dnsmasq.conf
21
 
22
  # Expose port 7860 (the custom DNS port)
23
  EXPOSE 7860/udp
24
 
25
+ # Command to start dnsmasq in the foreground
26
+ CMD ["dnsmasq", "-k"]