Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Rules] Editing hosts file locally #43

Open
roviury opened this issue Sep 24, 2017 · 2 comments
Open

[Rules] Editing hosts file locally #43

roviury opened this issue Sep 24, 2017 · 2 comments

Comments

@roviury
Copy link

roviury commented Sep 24, 2017

I think it is better to give users to add rules using local text.
In each rule in the [rules] tab
text editor:
@[server1] google.com
@[server2] yahoo.com
@[server1] apple.com

in the [servers]
there are server1 = 111.222.333.444:53; server2 = 101.210.300.405:53

when the texts in [rules] are edited/re-saved,
@[xxxx] get converted to the address internally. (and also check it)

if the text cannot be converted, it cannot be saved. (e.g. no server1 in [servers])

In such a way, users no need to assign urls to download hosts file. and they can easily edit it.
If the server hosts are dead, it can easy to change the host addresses.

@PeratX
Copy link
Member

PeratX commented Jun 6, 2018

Now working on it

@PeratX
Copy link
Member

PeratX commented Jun 27, 2018

yaml is introduced

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants