Skip to content

Option to write to a different hosts-like file (for use with dnsmasq) #294

@amirabiri

Description

@amirabiri

I like this tool and I want to ditch telepresence in favour of it. However I am uncomfortable with something that continuously modifies my /etc/hosts file.

I though a good and easy way to avoid that is if there was an option to write to a different hosts-like file using a command line flag. Then I can easily point dnsmasq to it:

sudo kubefwd svc -n my-namespace --hosts-file /opt/local/kube-hosts
# /usr/local/etc/dnsmasq.conf
listen-address=127.0.0.1
port=5353
addn-hosts=/opt/local/kube-hosts

And so on (setting up dnsmasq on osx for local development, etc...)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions