To remove a line starting and ending with different strings from a file : **@          IN     NS                 ns1.riodomain.com.**

**@          IN     A                  192.175.3.255**

**@          IN     MX     10          root@ns1.riodomain.com.**

**mail       IN     A                  192.164.2.228**

**ns1        IN     A                  192.164.2.333**



After executing i need to get as follows

**@          IN     A                  192.168.1.213**

**@          IN     MX     10          root@ns1.onedomain.com.**

**mail       IN     A                  192.168.1.213**

**ns1        IN     A                  192.168.1.213**


I need to remove the first line with specific pattern.
Can anyone help?