-
Notifications
You must be signed in to change notification settings - Fork 14
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
cannot load such file -- net/dns (LoadError) #3
Comments
Try this: |
Hi Andreas,
The installation was successfull:
C:\Users\ae90693>gem install net-dns
Successfully installed net-dns-0.8.0
Parsing documentation for net-dns-0.8.0
Done installing documentation for net-dns after 2 seconds
1 gem installed
But I still receive this error:
C:\Users\ae90693>hostmap -t 10.79.225.1
hostmap 0.3 codename development
Coded by Alessandro `jekil` Tanasi <[email protected]>
Unhandled exception. Please report this bug sending an email to alessandro@tanas
i.it attaching the following text:
Message:
Invalid domain name ["2irg.local", "localdomain"]
Inspection:
#<ArgumentError: Invalid domain name ["2irg.local", "localdomain"]>
Backtrace of the exception:
C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/net-dns-0.8.0/lib/net/dns/resolver.rb:1227:in `valid?'
C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/net-dns-0.8.0/lib/net/dns/resolver.rb:387:in `domain='
C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/net-dns-0.8.0/lib/net/dns/resolver.rb:1065:in `parse_config_file'
C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/net-dns-0.8.0/lib/net/dns/resolver.rb:263:in `initialize'
C:/hostmap/lib/hostmap/network/dns.rb:12:in `new'
C:/hostmap/lib/hostmap/network/dns.rb:12:in `configure'
C:/hostmap/lib/hostmap/core.rb:52:in `initialize'
C:/hostmap/lib/hostmap-cli/console.rb:50:in `new'
C:/hostmap/lib/hostmap-cli/console.rb:50:in `run'
C:/hostmap/hostmap.rb:17:in `<main>'
I did never put “2irg.local” on some files… I only added my DNS to “hostmap.conf” file:
# DNS servers
#
# DNS server used for the discovery (instead of defaults). Provide a comma separated list.
# Example: 192.168.0.1, 192.168.0.2
dns: 10.79.225.1, 10.79.186.136
Can you help me with this issue?
Thank you very much!
Francesco
Da: Andreas Baumgart [mailto:[email protected]]
Inviato: mercoledì 7 febbraio 2018 22:11
A: jekil/hostmap <[email protected]>
Cc: Bonanno Francesco (2i Rete Gas SpA) <[email protected]>; Author <[email protected]>
Oggetto: Re: [jekil/hostmap] cannot load such file -- net/dns (LoadError) (#3)
Try this:
gem install net-dns
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#3 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AbbGvzqeRS1xuLR7yPpJIFzTeYsvuSIQks5tShFMgaJpZM4NdwHy>.
Le informazioni contenute nella presente email ed ogni suo allegato sono da ritenersi riservati e, comunque, destinate esclusivamente alla persona o all'ente sopraindicati. La diffusione, distribuzione o copia di questa email da parte di qualsiasi soggetto diverso dal destinatario è proibita. Se avete ricevuto questo messaggio per errore, Vi preghiamo di contattarci immediatamente e cancellare il messaggio dai vostri sistemi. Grazie.
The information included in this email and any files transmitted with are confidential and intended solely for the use of the individual or entity to whom they are addressed. Dissemination, distribution or copy of this e-mail by any person not in address is strictly prohibited. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. Thank you.
|
Sorry, can't help you with that. I'm not affiliated with the hostmap project. I just stumbled upon your comment regarding net/dns by coincidence. Perhaps @jekil can help. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
After the installation of Rubyinstaller and the unzip of hostmap, when i digit "C:\hostmap>ruby hostmap.rb -h" i see the following error:
So I don't know what to do... can someone help me?
Thnx very much.
The text was updated successfully, but these errors were encountered: