diff --git a/src/Updater.php b/src/Updater.php index 8d8fce4..ee50141 100644 --- a/src/Updater.php +++ b/src/Updater.php @@ -496,7 +496,7 @@ public function update( ?ResponsePacket &$o_response = null ) : bool { * @throws Exception */ private function _checkName( string $i_name ) : void { - if ( ! preg_match( '/' . $this->packet->question[ 0 ]->qName . '$/', $i_name ) ) { + if ( ! preg_match( '/' . $this->packet->question[ 0 ]->qName . '$/i', $i_name ) ) { throw new Exception( 'name provided (' . $i_name . ') does not match zone name (' .