# vagrant-autodns **Repository Path**: mirrors_linkedin/vagrant-autodns ## Basic Information - **Project Name**: vagrant-autodns - **Description**: Vagrant plugin for automagically managing guest DNS - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-08-09 - **Last Updated**: 2026-09-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Vagrant::Autodns Vagrant plugin for automagically managing guest DNS. It uses a local DNS daemon (RubyDNS) that stores DNS entries in a SQLite database. It has been designed not to run as root. To be able to do that, Vagrant::AutoDNS creates an iptable rule on your guest machine to do DNS request forwardng between the 53 privileged port to the hosts 15353 unprivileged port. ##License © 2014 LinkedIn Corp. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. ##Requirements You need sqlite3 gem and ruby 1.9.2 minimum to use this plugin ## Installation ###Simple Install: ```bash $ vagrant plugin install vagrant-autodns ``` ###Bundler Install: Add this to your application's Gemfile: ```bash $ cat > Gemfile < :dhcp end ``` ### CLI Display help : ```bash $ vagrant autodns help Usage: vagrant autodns [] Available subcommands: add clear delete list reload_all restart start status stop For help on any individual command run `vagrant autodns COMMAND -h` ``` Daemon management : ```bash $ vagrant autodns {start|stop|restart|status} ``` Add a record manually : ```bash $ vagrant autodns add [vagrant_id] $ vagrant autodns add test.vagrant.dev 1.2.3.4 ``` List all DNS entries : ```bash $ vagrant autodns list ``` Clear the DNS entries : ```bash $ vagrant autodns clear ``` ## Contributing 1. Fork it 2. Create your feature branch (`git checkout -b my-new-feature`) 3. Commit your changes (`git commit -am 'Add some feature'`) 4. Push to the branch (`git push origin my-new-feature`) 5. Create new Pull Request