How to index intranet with .net domains

I have fresh yacy installation, want to use it for local use only, my intranet uses .net
when i try to index anything, for example mediawiki i get this
“Crawling of “twiki.net” failed. Reason: denied_(the host ‘twiki.net’ is global, but global addresses are not accepted: 192.168.7.17)/”

it did reach the right host indeed, but how do i make yacy accept my ip or domains as local addresses

i did some googling and didnt reach anything

thanks!

well, after more reading i can understand that i have to use network.unit.domainlist
i created file called searchme.txt in yacy root dir, add to it

twiki.net
http://twiki.net

edited defaults/yacy.network.intranet.unit and added

network.unit.domainlist = seachme.txt

i still cant index twiki.net

i got ignored i think :frowning:

just how do i format the domainlist, just put the links there? do i need to add something before each line?
YaCy seems to access my domainlist file, but not able to understand it i think?

I tried to make the host file accessible over http, and i get that the file got accessed
192.168.7.146 - - [05/Jun/2020 14:02:27] "GET /allowedsites.txt HTTP/1.1" 200

but still get in YaCy that its not in the domainlist :confused:

YaCy recognizes internet/intranet ranges using the IP after DNS resolving. So if you are using .net TLDs within your intranet, then you must switch to intranet mode.

YaCy differs strictly between internet and intranet indexing because this is a privacy issue.