gns3-server/gns3server/appliances/dns.gns3a
2022-12-27 13:40:07 +08:00

21 lines
1.1 KiB
Plaintext

{
"appliance_id": "f049539d-db46-422f-8d10-ff9b96a2a4ae",
"name": "DNS",
"category": "guest",
"description": "This appliance provides DNS using dnsmasq with the local domain set to \"lab\".",
"vendor_name": "Ubuntu",
"vendor_url": "https://www.ubuntu.com/",
"product_name": "DNS",
"registry_version": 3,
"status": "stable",
"maintainer": "Andras Dosztal",
"maintainer_email": "developers@gns3.net",
"usage": "You can add records by adding entries to the /etc/hosts file in the following format:\n%IP_ADDRESS% %HOSTNAME%.lab %HOSTNAME%\n\nExample:\n192.168.123.10 router1.lab router1\n\nIf you require DNS requests to be serviced from a different subnet than the one that the DNS server resides on then do the following:\n\n1. Edit (nano or vim) /ect/init.d/dnsmasq\n2. Find the line DNSMASQ_OPTS=\"$DNSMASQ_OPTS --local-service\"\n3. Remove the --local-service or comment that line out and add DNSMASQ_OPTS=\"\"\n4. Restart dnsmasq - service dnsmaq restart",
"symbol": "linux_guest.svg",
"docker": {
"adapters": 1,
"image": "adosztal/dns:latest",
"console_type": "telnet"
}
}