 
 void send_message() {
     IPAddress server_ip(107, 21, 122, 218);
+
     int result = dnsClient.getHostByName(server_host, server_ip);
     Serial.println("Server IP");
     Serial.println(server_ip);

  Serial.println("Connected to network.");
  Serial.println(Ethernet.localIP());

}

void setup() {
  // start the serial library:
  Serial.begin(9600);
    
  pinMode(ledPin, OUTPUT);
  pinMode(buttonPin, INPUT);
  
//  // start the Ethernet connection:
  int errEthernet = Ethernet.begin(mac);
  if (errEthernet == 0) {
    Serial.println("Failed to configure Ethernet using DHCP");
    Serial.println(errEthernet);
    // no point in carrying on, so do nothing forevermore:
    while(true) {
       digitalWrite(ledPin, LOW);
       delay(1000);
       digitalWrite(ledPin, HIGH);
       delay(1000);
    }
  }
  Udp.begin(server_port);
  dnsClient.begin(Ethernet.dnsServerIP());
