Yes you would need to enter command mode, change the DL/DH values and Exit command mode. Then send the data.
However, most arduino libraries that exits for the XBee use API mode instead. This keeps you from having to change the value via AT command mode.