Comments (4)
As of right now those warnings are working correctly as I want dness
to be resilient against stale configuration. For instance my own config contains a subdomain or two that I've deleted from my DNS records but forgot to update in dness
. If these warnings had caused a premature exit then legitimate domains would not be updated.
Can you explain your use case further, as it may be worth introducing a --paranoid
flag to exit with an error whenever a missing record is encountered.
from dness.
Huh, it should fail. I tried replicating the issue on a box of mine:
ufw deny out 53
And got the following error:
[ERROR dness] could not successfully resolve IP
caused by: dns lookup
caused by: could not resolve via dns
caused by: proto error: io error: Operation not permitted (os error 1)
Is there something more to it?
from dness.
Hi Nick
I looked back on my journalctl -u dness.service I can see the previous logs which show the error
Jan 05 23:00:57 dness systemd[1]: Starting A dynamic DNS client...
Jan 05 23:01:00 dness dness[7178]: [INFO dness] resolved address to 161.8.226.redacted in 2585ms
Jan 05 23:01:30 dness dness[7178]: [WARN dness::namecheap] resolving namecheap record (@) encountered an error: could not resolve via dns
Jan 05 23:02:00 dness dness[7178]: [WARN dness::namecheap] resolving namecheap record (*) encountered an error: could not resolve via dns
Jan 05 23:02:30 dness dness[7178]: [WARN dness::namecheap] resolving namecheap record (www) encountered an error: could not resolve via dns
Jan 05 23:02:30 dness dness[7178]: [INFO dness] processed redacted.com (namecheap): (updated: 0, already current: 0, missing: 3) in 90025ms
Jan 05 23:02:30 dness dness[7178]: [INFO dness] processed all: (updated: 0, already current: 0, missing: 3) in 92617ms
Jan 05 23:02:30 dness systemd[1]: dness.service: Succeeded.
Jan 05 23:02:30 dness systemd[1]: Finished A dynamic DNS client.
Maybe it's not the blocked port that caused it, but as you can see it still proceeded with an error. Hope this log helps
from dness.
In that case it isn't a bug so closing this ticket 🙂 thank you for following up
Not in my use case, I encounted this by accident and it's no longer an issue for me
from dness.
Related Issues (11)
- namecheap support HOT 3
- ERROR: Could not resolve via dns HOT 8
- Support for dns.he.net HOT 1
- Support noip.com HOT 2
- Support https://freedns.afraid.org HOT 4
- Can't install: conffile name 'etc/dness/dness.conf' is not an absolute pathname
- Support dynu.com
- Error when updating dynu.nu records HOT 2
- GoDaddy IPv6-Support HOT 1
- Support for RFC 2136 - Dynamic Updates in the Domain Name System (DNS UPDATE) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dness.