# Dual: a simple manager for custom hostnames # # Copyright (C) 2021 luca0N! # # This program is free software: you can redistribute it and/or modify it under # the terms of the GNU General Public License as published by the Free Software # Foundation, either version 3 of the License, or (at your option) any later # version. # # This program is distributed in the hope that it will be useful, but WITHOUT # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS # FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. # # You should have received a copy of the GNU General Public License along with # this program. If not, see . # # Contact me by e-mail via . # #### ## ## ## ## # ## ## ## ## ## ## ## # ## ## ## ## ## ## ## configuration # ## ## ## ## ###### ## file # ## ## ## ## ## ## ## # #### ## ## ## ##### # # Configuration file for Dual. # # Lines that begin with the "#" character are comments. Everything written in a # line after "#" is considered a comment. Comments are ignored. [Dual] # Put instructions that should be sent to Dual here. # Provide the path to the hosts file here if you want to override the default # path or you're using an unsupported operating system. # hostsPath=/etc/hosts # FetchType specifies the way Dual should retrieve the desired IP address that # is going to be associated with the specified hostname. # # The following values are allowed for this option: # - Resolve: gets the target IP address by resolving the provided address. # - PlainText: gets the target IP address by connecting to the provided # address that outputs the desired IP address in plain text. FetchType=Resolve # The Source value should be equal to a domain name (like foo.example.org) when # using the Resolve Type or equal to a web URL (like # https://www.example.org/api/get?entry=913804). Source=Nautilus.luca0N.com # The Target value is the desired local hostname. Target=Nautilus