What's the equivalent of hosts files in windows ?
I want to add a dns entry so 'sql1' is pointing to localhost.
I tried adding sql1 127.0.0.1 to /etc/resolveconf/resolv.conf.d/base and then sudo service resolveconf restart, but it's not working. A ping to sql still gives me unknown host sql1.
One of the most common DNS configurations when assigning a static IP address to a Meraki device is to use one ISP-provided DNS server and one well-known public DNS service such as Google (8.8. 8.8).
Right-click the zone where you want to add a resource record, and then click Add DNS resource record. The Add DNS Resource Records dialog box opens. In Resource record properties, click DNS server and select the DNS server where you want to add one or more new resource records.
Edit /etc/hosts
127.0.0.1 localhost sql1
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With