Code Monkey home page Code Monkey logo

dnsmasq-snap's Introduction

This is a quick and dirty snap of dnsmasq! :-)

Wondering what snaps are? Learn all about them at http://snapcraft.io.

Usage

To install: snap install dnsmasqd

To test the binary, run it in the foreground as a DNS proxy on port 8053: /snap/bin/dnsmasqd.dnsmasq -d -p 8053

Query it with dig: dig -p 8053 snapcraft.io @127.0.0.1

To use the daemon, just put a dnsmasq.conf in /var/snap/dnsmasq/common/; it should start automatically after some seconds.

If you need privileged operations such as to answer BOOTP/DHCP requests, make sure you connect the network-control interface: snap connect dnsmasqd:network-control ubuntu-core:network-control

To check the output of the daemon, use: sudo journalctl -u snap.dnsmasqd.dnsmasqd.service

Sources and CI

The homepage of this snap is at https://github.com/lool/dnsmasq-snap and it should be built by Launchpad at https://code.launchpad.net/~lool/+snap/dnsmasqd based on a mirrored branch of the snap. Because Launchpad didn't allow pulling sources from random locations, snapcraft.yaml points at a GitHub copy of the upstream code at https://github.com/lool/dnsmasq.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.