dnsmasq, serve different ip addresses based on interface used

You can run two instances of dnsmasq, each with a different interface it listens on. You can use the –interface=X and –bind-interfaces options for that. By default, it also binds the loopback device lo and will fail if two processes try to bind it. Use –except-interface=lo to avoid that. dnsmasq –interface=eth0 –except-interface=lo –bind-interfaces –dhcp-range=192.168.0.2,192.168.0.10,12h dnsmasq … Read more

Docker container cannot resolve hosts

By default creating a new docker container also creates a virtual network that separates the docker network environment from the host network environment (somewhat). This allows one to easily spin up multiple containers which might all listen on the same port (e.g. 80), but in a way that can be mapped to unique ports on … Read more

Spring Boot 2.4.2 – DNS Resolution Problem at start on Apple M1

I needed a version in addition to classifier: <dependency> <groupId>io.netty</groupId> <artifactId>netty-resolver-dns-native-macos</artifactId> <scope>runtime</scope> <classifier>osx-x86_64</classifier> <version>4.1.59.Final</version> </dependency> scope is optional but classifier is required. For the latest version, see: https://mvnrepository.com/artifact/io.netty/netty-resolver-dns-native-macos Example: Latest version for M1 macs (aarch_64), as of 2022-01: <classifier>osx-aarch_64</classifier> <version>4.1.72.Final</version>

Why isn’t it possible to use a CNAME alias to Google Storage with HTTPS? [closed]

Assume you have a CNAME record: travel-maps.example.com CNAME c.commondatastorage.googleapis.com. Browser resolves name travel-maps.example.com and gets IP for c.commondatastorage.googleapis.com, then connects to port 443 of this address. Server with this IP couldn’t possibly[1] have proper certificate for travel-maps.example.com (and all other domain names with CNAME records like this). Only example.com domain owner could get a trusted … Read more

What DNSs have API access? [closed]

I guess in the last 3 years this is a bit of a solved problem. Here are some to check out: Amazon has a nice dns service now http://aws.amazon.com/route53/ Linode has a free api based dns if you’re a customer. Dynadot has a fee dns with an api if you’re a customer.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)