I'm getting the following error on startup with oxidized in Ubuntu 22.04. Any ideas on a possible cause?
cannot interpret as DNS name: nil
/usr/lib/ruby/3.0.0/resolv.rb:1248:in `create': cannot interpret as DNS name: nil (ArgumentError)
from /usr/lib/ruby/3.0.0/resolv.rb:1088:in `generate_candidates'
from /usr/lib/ruby/3.0.0/resolv.rb:1117:in `resolv'
from /usr/lib/ruby/3.0.0/resolv.rb:521:in `fetch_resource'
from /usr/lib/ruby/3.0.0/resolv.rb:507:in `each_resource'
from /usr/lib/ruby/3.0.0/resolv.rb:402:in `each_address'
from /usr/lib/ruby/3.0.0/resolv.rb:116:in `block in each_address'
from /usr/lib/ruby/3.0.0/resolv.rb:115:in `each'
from /usr/lib/ruby/3.0.0/resolv.rb:115:in `each_address'
from /usr/lib/ruby/3.0.0/resolv.rb:93:in `getaddress'
from /var/lib/gems/3.0.0/gems/oxidized-0.29.1/lib/oxidized/node.rb:20:in `initialize'
from /var/lib/gems/3.0.0/gems/oxidized-0.29.1/lib/oxidized/nodes.rb:22:in `new'
from /var/lib/gems/3.0.0/gems/oxidized-0.29.1/lib/oxidized/nodes.rb:22:in `block (2 levels) in load'
from /var/lib/gems/3.0.0/gems/oxidized-0.29.1/lib/oxidized/nodes.rb:17:in `each'
from /var/lib/gems/3.0.0/gems/oxidized-0.29.1/lib/oxidized/nodes.rb:17:in `block in load'
from /var/lib/gems/3.0.0/gems/oxidized-0.29.1/lib/oxidized/nodes.rb:133:in `synchronize'
from /var/lib/gems/3.0.0/gems/oxidized-0.29.1/lib/oxidized/nodes.rb:133:in `with_lock'
from /var/lib/gems/3.0.0/gems/oxidized-0.29.1/lib/oxidized/nodes.rb:11:in `load'
from /var/lib/gems/3.0.0/gems/oxidized-0.29.1/lib/oxidized/nodes.rb:128:in `initialize'
from /var/lib/gems/3.0.0/gems/oxidized-0.29.1/lib/oxidized/core.rb:14:in `new'
from /var/lib/gems/3.0.0/gems/oxidized-0.29.1/lib/oxidized/core.rb:14:in `initialize'
from /var/lib/gems/3.0.0/gems/oxidized-0.29.1/lib/oxidized/core.rb:4:in `new'
from /var/lib/gems/3.0.0/gems/oxidized-0.29.1/lib/oxidized/core.rb:4:in `new'
from /var/lib/gems/3.0.0/gems/oxidized-0.29.1/lib/oxidized/cli.rb:13:in `run'
from /var/lib/gems/3.0.0/gems/oxidized-0.29.1/bin/oxidized:8:in `<top (required)>'
from /usr/local/bin/oxidized:25:in `load'
from /usr/local/bin/oxidized:25:in `<main>'
I'm getting the following error on startup with oxidized in Ubuntu 22.04. Any ideas on a possible cause?
nano /root/.config/oxidized/config
nano /root/.config/oxidized/router.db
(Formating updated by @robertcheramy for readablilty)