[Solution] - Run AdguardHome without breaking Guest Network DNS

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.

[Solution] - Run AdguardHome without breaking Guest Network DNS

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.
[Solution] - Run AdguardHome without breaking Guest Network DNS
[Solution] - Run AdguardHome without breaking Guest Network DNS
2023-06-05 13:42:47

Note: This can violate Advertisement rule's and maybe other laws. Some companies entirely depend's on Ad's revenue.

Most User want's to run AdguardHome or Pihole but running these services inside Deco network break Guest Network functionality, currently Deco not support separate DNS for Guest Network. But who cares even network isolated with Vlans.

Here you can use Docker to run this services on network.

Hardware - Raspberry pi 4 4gb

Os - Ubuntu server 20.4.x LTS

 

1.create a compose.yml file

2. paste below script then start docker compose

-----------

version: "3"
services:
   adguardhome:
     image: adguard/adguardhome
     container_name: adguardhome
      ports:
       - 53:53/tcp
       - 53:53/udp
       - 784:784/udp
       - 853:853/tcp
       - 3000:3000/tcp
     volumes:
       - ./work:/opt/adguardhome/work
       - ./conf:/opt/adguardhome/conf
     restart: unless-stopped


  bind9:
    image: ubuntu/bind9:9.18-22.04_beta
    restart: unless-stopped
    container_name: bind9-vlan591
    ports:
      - 30053:53
      - "53:53/tcp"
      - "53:53/udp"
    networks:
      ipvlan_network:
        ipv4_address: 192.168.68.11
    environment:
      TZ: "Asia/Kolkata"
      BIND9_USER: "bind"
    deploy:
      resources:
        limits:
          memory: 256M
    volumes:
      - named_volume:/etc/bind
      - cache_volume:/var/cache/bind
      - records_volume:/var/lib/bind
      - default_volume:/etc/default

volumes:
  named_volume:
  cache_volume:
  records_volume:
  default_volume:

networks:
  ipvlan_network:
    driver: ipvlan
    driver_opts:
      ipvlan_mode: l2
      parent: eth0.591
    ipam:
      driver: default
      config:
        - subnet: 192.168.68.0/24
          gateway: 192.168.68.1


  3      
  3      
#1
Options
2 Reply
Re:[Solution] - Run AdguardHome without breaking Guest Network DNS
2023-06-05 13:46:58

  @David-TP Request to Dev's if i voilate communitity rules by this post kindly remove this thread and inform me instead of banning me from forum.

  2  
  2  
#2
Options
Re:[Solution] - Run AdguardHome without breaking Guest Network DNS
2023-06-06 08:12:38

  @Aura9x2l 

Hi, it is a good post, and thank you for the advice. I am not good at Linux stuff and such a suggestion would be out of my reach. So it's great to have users share their own workaround or suggestions with the community. It would help other users and your effort should be acknowledged.

Thank you very much.

Best regards.

  0  
  0  
#3
Options