Compare commits
2 Commits
b62f18cf3d
...
a82927c1f6
Author | SHA1 | Date | |
---|---|---|---|
a82927c1f6 | |||
5e162a3427 |
@ -259,7 +259,7 @@ abstract class Protocol
|
|||||||
throw new SocketException(SocketException::CANT_ACCEPT,'Could not fork process');
|
throw new SocketException(SocketException::CANT_ACCEPT,'Could not fork process');
|
||||||
|
|
||||||
if ($pid)
|
if ($pid)
|
||||||
Log::info(sprintf('%s:+ New connection, thread [%d] created',self::LOGKEY,$pid));
|
Log::debug(sprintf('%s:+ New connection, thread [%d] created',self::LOGKEY,$pid));
|
||||||
|
|
||||||
// Parent return ready for next connection
|
// Parent return ready for next connection
|
||||||
return $pid;
|
return $pid;
|
||||||
|
@ -73,7 +73,7 @@ final class DNS extends BaseProtocol
|
|||||||
$this->client = $client;
|
$this->client = $client;
|
||||||
$this->protocol_session();
|
$this->protocol_session();
|
||||||
|
|
||||||
Log::info(sprintf('%s:= onConnect - Connection closed [%s]',self::LOGKEY,$client->address_remote));
|
Log::debug(sprintf('%s:= onConnect - Connection closed [%s]',self::LOGKEY,$client->address_remote));
|
||||||
exit(0);
|
exit(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -167,7 +167,7 @@ final class DNS extends BaseProtocol
|
|||||||
case self::DNS_TYPE_AAAA:
|
case self::DNS_TYPE_AAAA:
|
||||||
case self::DNS_TYPE_SRV:
|
case self::DNS_TYPE_SRV:
|
||||||
case self::DNS_TYPE_TXT:
|
case self::DNS_TYPE_TXT:
|
||||||
Log::info(sprintf('%s:= Looking for record [%s] for [%s]',self::LOGKEY,$this->query->type,$this->query->domain));
|
Log::debug(sprintf('%s:= Looking for record [%s] for [%s]',self::LOGKEY,$this->query->type,$this->query->domain));
|
||||||
|
|
||||||
$labels = clone($this->query->labels);
|
$labels = clone($this->query->labels);
|
||||||
$mailer = '';
|
$mailer = '';
|
||||||
|
@ -209,7 +209,7 @@ class Address extends Model
|
|||||||
$o = $query
|
$o = $query
|
||||||
->where('region_id',$ftn['n'])
|
->where('region_id',$ftn['n'])
|
||||||
->where('host_id',$ftn['n'])
|
->where('host_id',$ftn['n'])
|
||||||
->with(['system:id,active'])
|
->with(['system:id,active,name,address'])
|
||||||
->first();
|
->first();
|
||||||
|
|
||||||
// Look for a normal address
|
// Look for a normal address
|
||||||
@ -224,7 +224,7 @@ class Address extends Model
|
|||||||
})
|
})
|
||||||
->orWhere('host_id',$ftn['n']);
|
->orWhere('host_id',$ftn['n']);
|
||||||
})
|
})
|
||||||
->with(['system:id,active'])
|
->with(['system:id,active,name,address'])
|
||||||
->first();
|
->first();
|
||||||
|
|
||||||
// Check and see if we are a flattened domain, our address might be available with a different zone.
|
// Check and see if we are a flattened domain, our address might be available with a different zone.
|
||||||
|
Loading…
Reference in New Issue
Block a user