public DNSCommunicator(String name, String ip, String dns, int port) {
		this.serverName = name;
		this.serverIP = ip;
		this.dnsIP = dns;
		this.dnsPort = port;
		try {
			connectToDNSServer(this.dnsIP,this.dnsPort);
		} catch (UnknownHostException e) {
			System.out.println("No ha sido posible conectarse al DNS server "+this.dnsIP+":"+this.dnsPort);
		} catch (IOException e) {
			System.out.println("No ha sido posible conectarse al DNS server "+this.dnsIP+":"+this.dnsPort);
		}
	}