Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
vagrant-dns-updater
allows you to automatically configure a subdomain with the ip of your vagrant instance using your registrar API.
$ vagrant plugin install vagrant-dns-updater
Configuration example for OVH:
Vagrant.configure(2) do |config|
# for the moment only "ovh" is supported
config.dnsupdater.registrar = "ovh"
# API credentials, specific to OVH
# for more information read the OVH section below
config.dnsupdater.appkey = "XXXXXXXX"
config.dnsupdater.appsecret = "YYYYYYYYYYYYYYYYYY"
config.dnsupdater.consumerkey = "ZZZZZZZZZZZZZZZZZZZ"
# domain settings, test.mydomain.com in our example
config.dnsupdater.zone = "mydomain.com"
config.dnsupdater.subdomain = "test"
# the network interface on which retreive the ip
config.dnsupdater.interface = "eth2"
# ttl is optional, default value is set to 60 seconds
config.dnsupdater.ttl = "120"
end
First you need an appkey
and an appsecret
which can be obtained here.
You will also need a consumerkey
, you can get it using the ovh-consumer-key
command provided by this plugin:
vagrant ovh-consumer-key <appkey>
This command will display a consumerkey
and a validationUrl
, the consumerkey
need a validation before use, this
can be done by following the validationUrl
and entering your credentials.
Finally you can add the following parameters to your Vagrantfile.
Vagrant.configure(2) do |config|
config.dnsupdater.registrar = "ovh"
config.dnsupdater.appkey = "XXXXXXXX"
config.dnsupdater.appsecret = "YYYYYYYYYYYYYYYYYY"
config.dnsupdater.consumerkey = "ZZZZZZZZZZZZZZZZZZZ"
config.dnsupdater.zone = "mydomain.com"
config.dnsupdater.subdomain = "test"
config.dnsupdater.interface = "eth2"
end
Bug reports and pull requests are welcome on GitHub at https://github.com/blueicefield/vagrant-dns-updater.
The gem is available as open source under the terms of the MIT License.
FAQs
Unknown package
We found that vagrant-dns-updater demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.