Comments (4)
Only A type are supported as this was all that was implemented in the original code.
As a work around, just use one of the alternative googlemail.l.google.com A type addresses.
Andy
from ethercard.
This workaround doesn't seem to work when a DNS server returns multiple IP's..
$ dig googlemail.l.google.com
; <<>> DiG 9.9.0 <<>> googlemail.l.google.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 10751
;; flags: qr rd ra; QUERY: 1, ANSWER: 4, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1280
;; QUESTION SECTION:
;googlemail.l.google.com. IN A
;; ANSWER SECTION:
googlemail.l.google.com. 91 IN A 173.194.65.83
googlemail.l.google.com. 91 IN A 173.194.65.18
googlemail.l.google.com. 91 IN A 173.194.65.19
googlemail.l.google.com. 91 IN A 173.194.65.17
from ethercard.
Just checked the code, and yes, you're right, it wont work very well with multiple answers. I know this is something I had fixed a while ago in the EtherShield library as the original code didnt work properly either.
Another area of the library to be updated for both CNAME support and multiple IP addresses returned.
Andy
from ethercard.
Cool!
This will make it easier too connect cloud hosted services.. or generally any DNS based load balancing solution!
from ethercard.
Related Issues (20)
- ATMega1284p not working HOT 1
- esp8266 HOT 1
- FINE ADJUSTMENTS
- Example ether.browseUrl(PSTR("/foo/"), "bar", website, my_callback); not working HOT 6
- UDP Multicast MAC not correct? HOT 5
- facing problem while using with SD card
- Concurrent requests possible?
- Custom host name while setting Static IP HOT 1
- Multicast listening HOT 1
- Rename 'master' branch to 'main'
- Reading response only 512 bytes chunk of tcpsend
- Hide response header from HTTP response
- Is there any way to use other serial port for ether.printIp()?
- UDP packet is not sent - NOT STATIC IP HOT 1
- Incorrect session id returned
- DHCP client + browse url with specific port HOT 1
- Wrong Ethernet II destination MAC address. HOT 6
- Error initializing library on Arduino Nano HOT 5
- How to handle multiple sessions?
- Sending UDP datagrams from Arduino with EtherCard library to concrete IP
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ethercard.