Changed DNS Record Default Expiration Time to 25 seconds
It was an hour, which was making impossible to detect changes
in the Active Home mdns beacon in a reasonable amount of time
Change-Id: I283507fa2c4aaf18e7233fc8897d538baeeea561
diff --git a/src/javax/jmdns/impl/constants/DNSConstants.java b/src/javax/jmdns/impl/constants/DNSConstants.java
index 2704f94..b79400b 100644
--- a/src/javax/jmdns/impl/constants/DNSConstants.java
+++ b/src/javax/jmdns/impl/constants/DNSConstants.java
@@ -18,8 +18,8 @@
public static final int MDNS_PORT = Integer.parseInt(System.getProperty("net.mdns.port", "5353"));
public static final int DNS_PORT = 53;
- // One hour expiration time
- public static final int DNS_TTL = 60 * 60;
+ // DNS Records Expiration Time in Seconds
+ public static final int DNS_TTL = 25;
public static final int MAX_MSG_TYPICAL = 1460;
public static final int MAX_MSG_ABSOLUTE = 8972;