Skip to content

Commit 5288aec

Browse files
authored
Add note about linux and ipv6 mdns issues
1 parent e675327 commit 5288aec

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,16 @@ npx node-gyp rebuild --target=9.0.0 --arch=x64 --dist-url=https://atom.io/downlo
4343

4444
`target` must match the electron version installed by npm
4545

46+
#### Linux MDNS
47+
48+
On Debian like systems, you may need to enable ipv6 dns resolution. Do this by ensuring:
49+
50+
```
51+
hosts: files mdns4_minimal mdns6_minimal [NOTFOUND=return] dns
52+
```
53+
54+
Is added to to `/etc/msswitch.conf`.
55+
4656
### Troubleshooting
4757

4858
- Native dependencies won't compile
@@ -52,6 +62,8 @@ npx node-gyp rebuild --target=9.0.0 --arch=x64 --dist-url=https://atom.io/downlo
5262
- Runtime error related to DLL initialization
5363
+ Make sure the "rebuild" step above works
5464
+ [More Info](https://github.com/electron/electron/blob/master/docs/tutorial/using-native-node-modules.md#using-native-node-modules)
65+
- MDNS doesn't work on linux (getaddr
66+
+ Try adding `hosts: files mdns4_minimal mdns6_minimal [NOTFOUND=return] dns` to `/etc/msswitch.conf`
5567

5668
## Installation
5769

0 commit comments

Comments
 (0)